Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(in this example we will use the files found at https://github.com/vivo-DE). Be sure to use the theme 'wilma' or 'tenderfoot' for this to work without issues. 

  • go into each language folder (VIVO-language and Vitro-language) and 'install' them with Maven ("mvn install")

  • next, go into the VIVO project folder and uncomment the section for multiple language support in the two pom.xml files listed below:
    (search for '<!-- Dependencies for multilingual support -->' inside of the files)

    1. VIVO/installer/home/pom.xml
    2. VIVO/installer/webapp/pom.xml
    Make sure to change the <version> in the pom.xml-files to the same version as in the 'VIVO-language/pom.xml' and 'Vitro-language/pom.xml files' file respectively.
    (In this example we had to change <version>[2.0.0,2.1.0)</version> to <version>2.0.0-SNAPSHOT</version>.)
    (Note that these should be the home/pom.xml and webapp/pom.xml in whatever installer project is being used to deploy VIVO.)
  • after that, we have to build VIVO again, so go into the VIVO project folder and
    • "mvn install -s installer/my-settings.xml"
  • now edit the '/vivo_home_dir/config/runtime.properties' file in your VIVO home directory (e.g. '/vivo/home/config/'as declared in your 'VIVO/installer/my-settings.xml' file)
    menu_
    • uncomment/add 'RDFService.languageFilter = true'
    • uncomment/add 'languages.selectableLocales = en_US, de_DE'
    for the menu to be displayed correctly in German, you have to rename the file '
    • de_DE
    .nt' to
    • '
    menu_de_DE.n3'
    in the directory /vivo_home_dir/rdf/display/everytime/ (This step might not be necessary in the future)
  • restart the tomcat
  • you should now be able to select your installed language (in this case German) in the header of your VIVO site

...