This documentation covers a future release of VIVO, version 1.12.x.
If you are able to help contribute to this documentation, please contact
sysadmin at duraspace dot org
Looking for another version? See all documentation.
This page is in DRAFT
Scope: This document explains how to use the internationalization (i18n) features in the VIVO front-end editing functionality.
For detailed explanations of how i18n functionality works in VIVO please consult the following :
Generally the end user does not need to know how VIVO implements i18n functionality, however a basic familiarity with the underlying language feature is helpful in understanding what one can do to ensure correct usage.
[copied here directly from Internationalization]
If multiple languages are an option in your VIVO installation, you may toggle between the languages using the language selector in the top right of the screen, here we can see three language options for en_US, en_CA, and fr_CA :
When adding new content to VIVO using the editing functionality, it is recommended that you enter as many versions of the text as you have available languages. So for example if you have a bilingual English-French interface, if you are creating a new entry for a person, any text should be entered both in the English and French interface.
If text is added in only one language, i.e., English, the other language will look first for a French version, and if not available will present and display any available versions, following these rules:
For example, if the site language is set to Canadian French ('fr_CA'), the search algorithm for returning triples for a specific label is as follows:
Here is a step by step example of adding a new concept in both English and French.
1. Beginning in the English interface, from the profile of a professor, we will add a new concept "Phenomenology" to the list of research areas, by clicking on the 'manage list of research areas' icon on the profile page.
2. From the Manage Concepts screen click on the 'Add concept' button.
3. Click on the link 'Select or create a VIVO-defined concept'.
3. Add a new concept, here "Phenomenology", and click the 'Create Concept' button.
4. Returning to the Manage Concepts screen we can see that "Phenomenology" has been added to the concepts for this profile.
5. And returning to the profile page, we can see that the new concept now appears among the research areas for this professor.
6. If we toggle to the French language interface, we can see that the concept is listed, but in the English version in which it was created.
7. To edit the concept so that it is displayed in French, click on the concept that needs to be translated to bring us to the screen for this concept. Make sure you are in the correct language context, here in French, and click on the icon to edit the concept text.
8. Add the equivalent French term "Phenomenologie", and save the change by clicking on the edit button (here 'Editer étiquette').
9. Returning to the concept's screen, we can see that it is now displayed in French.
10. And returning to the professor's profile we can now see the concept is displayed in French.
When editing existing entries, you must also remember to edit the text in all available language contexts, use the language switcher to move from one language to the other.
Here is an example of a professor's profile where the Overview is displayed in English although we are in the French language display.
To change the description in 'Aperçu', click on the edit icon next to the description to bring you to the edit screen for the Overview/Aperçu and enter the French text
After saving the changes, you can see the French language version displayed in 'Aperçu'.
In some situations, there may be unexpected behavior when displaying pages after adding or editing text in a multi-language installation. This may be for several reasons:
In such cases, try refreshing your browser using Ctrl+F5. If this does not resolve the problem you should contact your VIVO administrator to rebuild the index or refresh the cache.