Currently in our company we are trying to implement Bahmni translated in Spanish and we found very useful the list of resources that the community had already translated from english to Spanish using Transifex, but we also found a few of lines of codes that are missing for example in the for_use_bahmni_home-app_es.json in order to see the all the list of modules labels translated to Spanish from Bahmni OpenMRS you need to add this lines of codes:
@darius, yes I’m pointing this because it would be good if these keys could be published in the Transifex file, we are looking to contribute to the Spanish community and in general about Bahmni. As new observations and updates emerge in our Bahmni implementation process, we want to share them with the community.
@luis, good we are with all the will to help to the community of Latin America in what we can, already send you a message vía WhatsApp, thanks for sharing your contact!
@cristian I am happy to add these if you can point me to where they should go. (Ideally, even send a pull request on github and link to it here.)
There are multiple source files related to i18n in the default config, in the different folders under https://github.com/Bahmni/default-config/tree/master/openmrs/i18n. And for example the first label you’ve given (MODULE_LABEL_REGISTRATION_KEY) is defined in two of those files:
Translations are done by the Bahmni community, via Transifex. So you would translate this file at Log in · Transifex
When configuring Bahmni, an implementer would download multiple translation files from transifex, and include them in the config. For example you’d get this file from Log in · Transifex by clicking on Spanish and then the Download for use link here:
But, I think there was a misunderstanding on what I tried to say, if you use the for_use_bahmni_home-app_es.json as it is right now in Transifex, you will see the openMRS Home Modules like this:
So in order to translate those modules labels I needed to add to for_use_bahmni_home-app_es.json, these lines:
“MODULE_LABEL_REGISTRATION_KEY”: “Registro”,
“MODULE_LABEL_CLINICAL_KEY”: “Clínico”,
“MODULE_LABEL_INPATIENT_KEY”: “Paciente Interno”,
“MODULE_LABEL_RADIOLOGY_UPLOAD_KEY”: “Carga de Radiología”,
“MODULE_LABEL_PATIENT_DOCUMENTS_KEY”: “Documentos de Pacientes”,
“MODULE_LABEL_ADMIN_KEY”: “Admin”,
“MODULE_LABEL_REPORTS_KEY”: “Reportes”,
“MODULE_LABEL_APOOINTMENTS_KEY”: “Citas”,
“MODULE_LABEL_ORDERS_KEY”: “Ordenes”,
“MODULE_LABEL_PROGRAMS_KEY”: “Programas”,
“MODULE_LABEL_IMPLEMENTER_INTERFACE_KEY”: “Interfaz de Implementación”,
“MODULE_LABEL_ATOMFEED_CONSOLE_KEY”: “Consola AtomFeed”