mekomsolutions / openmrs-module-initializer

The OpenMRS Initializer module is an API-only module that processes the content of the configuration folder when it is found inside OpenMRS' application data directory.
MIT License
23 stars 79 forks source link

Support setting names and descriptions of metadata from translations in the context locale #248

Open mseaton opened 1 year ago

mseaton commented 1 year ago

Context

Currently, we have a setup where we have a single master set of metadata files (eg. a csv of encounter types) that is shared across multiple countries. It is often requested that in each country, the actual name attached to the metadata (eg. encounter_type.name) be in the default locale used in that country. This is useful, for example, when reports are run directly against the database and the encounter_type.name is pulled in. It is also useful if there are areas of the UI that do not use the localized display correctly.

Proposed Changes

One idea is to allow one to specify that the name and/or description of a given metadata row should be set based on the display in the default context locale.

mks-d commented 4 months ago

@mseaton is this still current or we can close this issue?

mseaton commented 4 months ago

There does appear to be an open PR around this @mks-d . I can't remember the status: https://github.com/mekomsolutions/openmrs-module-initializer/pull/249

mks-d commented 4 months ago

Yes 😞, I left a comment there too → https://github.com/mekomsolutions/openmrs-module-initializer/pull/249#discussion_r1658869248