I followed the documentation and set “ZH” in related setting fields. Now, only the legacy admin interface displays in Chinese. Other interfaces are still in English.
I remember that in version 2.0, it was possible to set and display Chinese correctly.
Thanks for your reply. So, how can I create my own local Chinese language file for the O3 version? And how can I contribute it to the community? I did not see the O3 branch on OpenMRS localization | Transifex
Well, as I’m trying this, I actually can see that the Transifex version is deprecated (Or so it seems. @ibacher is the CI/CD doing anything with Transifex? Wondering why we have not come across some issues earlier)
We need to migrate the .tx/config files of each repo in order to get this back to working. Running tx migrate will do.
I’m not sure what’s the next step though @ibacher . I’m assuming this needs to be commited/PRed so we can add the language files to code base.
Configure the allowed locale for your installation
One would probably also need to set the backend locale by setting the locale.allowed.list and default_locale properties.
See for example Ozone Distro Cambodia
Thank you for your help and guidance. I have mostly completed the translation work for the zh_CN language for the several projects on Transifex.
I am lacking in knowledge related to JS and React. I have deployed the O3 with the qa tag images using docker-compose locally and now I would like to ask for your advice on how to display Chinese in my local deployment.
My understanding is that once the GitHub action automatically pulls the zh_CN.json from Transifex to “corresponding project/{module}/translations/”(Ex.: openmrs-esm-patient-chart/packages/esm-form-entry-app/translations), I just need to pull the latest nightly version from Docker Hub locally, is that correct?
So far, I haven’t seen the zh_CN.json file in these paths on GitHub.
So, is there a way for me to directly pull and use the Transifex language files locally? How can I do this? When I used “docker exec” to enter the container of openmrs/openmrs-reference-application-3-frontend locally, I couldn’t find the corresponding module and path.
In the openmrs/openmrs-reference-application-3-frontend container, I found the path for the front-end code: /usr/share/nginx/html, but I didn’t see the locate file.
We’ve retired and moved around some apps, so Transifex is out of date in some places. Other apps have been added after. Thank you for your contributions here and to helping us build out a better connection for translations!