Today Bahmni does not not provide a way to provide translations for form names, we can translate the concept label, label, headers etc inside a form however we cannot translate a form name.
We need the form name translation to be in place so that I can refer to the form’s in the required language, without the need to re-create the same form with different names.
Proposed solution
- OpenMRS provides a way to add resources to a form, in the form_resource table. This tables stores data in a key:value fashion (details here)
- We can use this table to store a key called ‘Translation’ or similar, and in the value we can store a stringified JSON like
{'en':'English name', 'fr': 'French name'
} - We can retrieve this value by joining the form and form resource table whenever required.
Example table entry:
Please provide your inputs. @angshuonline @binduak @sowmika @praveenad @vmalini @mksrom