Details
-
Task
-
Status: Closed
-
TBD
-
Resolution: Fixed
-
None
-
None
-
None
-
Undetermined
-
Description
In the contrib-uicommons project, a new angular module "openmrs-translate" is defined for localization.
However, this new module only uses new message key/value pairs defined via a "message_*.json" file.
We'd like this new module to also have all the existing key/value pairs defined in messages.properties files to be able to it.
A couple possible approaches:
- Have a custom loader that can RESTful load translations
- Bundle in all the messages.properties (pulled from Transifex?) during compile time
For the first option, we may be able to use existing functionality added to uicommons:
Example usage here:
Discussion here:
https://talk.openmrs.org/t/translate-dashboard-widgets/11215