Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 18
Note

This page is outdated and no longer receives updates!

OpenMRS can be used in any language.  Currently it is translated into English, approx 54% into French, and 86% of it into Spanish. For a more up to date list of languages and their current percentage of translation, take at look at our transifex main page.

...

There are links at the bottom of every page in the footer for the different available locales

Image Modified

Permanently changing your locale

Go to My Profile page and change your locale.  You will have to log out and back in again to see it take effect.

...

Image Added

Setting the available locales

...

Use the two letter ISO-639-1 language code (see http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes for a list of codes)

Image Modified

This Setting (formerly Global Property from 1.9 downwards) modifies the list of locales at the bottom of the page and the languages in the concept dictionary.  The list of possible locale choices on the bottom of the page are modified with the locale.allowed.list, but only if there is a messages_xx.properties file to match the locale.  In order to show the OpenMRS pages in Haitian Kreyol, complete these 2 steps:

  1. add 'ht' to the global property 'locale.allowed.list'
  2. add messages_ht.properties to the TOMCAT_HOME/webapps/openmrs/WEB-INF/messages_ht.properties  

NOTE: The messages_xx.properties file will file will disappear on an OpenMRS upgrade, so keep a file backup to be re-installed later.

...

Set a Default Locale by going to Administration > Maintenance > Manage Locales and Themes

...

Image Added

Adding new translations

Drop a new messages_XX.properties file into the tomcathome/openmrs/WEB-INF/  to add additional translations.  You will need to modify the Setting (formerly Global Property from 1.9 downwards) locale.allowed.list in order to choose the new language.  This file will disappear after upgrades, so be sure to keep a backup.

...