Versions Compared

Key

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

...

Form Builder Internationalization feature provides ability to implementer for translating published forms to different locales. With this feature user can see the form data in the language of logged in locale if the form is translated by implementer.


Note
titleForm Translations Directory

All the translations are saved in /home/bahmni/clinical_forms/translations/ directory. Implementer can also edit the translations directly in the corresponding file. Immediately after form publish the file will only have translations for default locale. The directory is set as a global property 'bahmni.formTranslations.directory'. It can be changed by updating the global property.


Steps to internationalize a form:

...

Note
titleNote

Default locale used to translate form on publish is picked form openmrs global property default_locale. If default locale is changed after creating forms then all the forms needs to be recreated and concepts added in forms should have names for the changed locale in openmrs.

Note
titleNote

All the saved translations are stored in bahmni_config/openmrs/apps/forms/translations/$formName_$version.json. Implementer can also edit the translations directly in the corresponding file. Immediately after form publish the file will only have translations for default locale.