Table of Contents
This is an old revision of the document!
New Developers Working Group
Internationalization
Evergreen translation files are stored in Launchpad.
Evergreen manages translation files through POEditor.
Angular Internationalization
Example of a patch that adds new strings:
How to Enable Evergreen Language Selector
OILSWebLocale adds support for a specific language. Add this variable to the Virtual Host section in /etc/apache2/eg_vhost.conf.
OILSWebDefaultLocale specifies which locale to display when a user lands on a page in TPAC and has not chosen a different locale from the TPAC locale picker. The following example shows the fr_ca locale being added to the locale picker and being set as the default locale:
PerlAddVar OILSWebLocale "fr_ca" PerlAddVar OILSWebLocale "/openils/var/data/locale/opac/fr-CA.po" PerlAddVar OILSWebDefaultLocale "fr-CA"
Language Selector Tips
- When selecting a language on one screen, it affects other areas of Evergreen. Ex: Changing the selector to Spanish in the OPAC will also cause the staff side to show Spanish.
- When changing languages, it's best to refresh your browser and clear your browser cache.
Things to add to this page:
- Links to Evergreen Conference session recordings about internationalization
- How to create a local customization file
- Steps for enabling multiple languages in OPAC
- Example of contributing translations to Evergreen