openmrs-module-initializer icon indicating copy to clipboard operation
openmrs-module-initializer copied to clipboard

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

Open mseaton opened this issue 1 year ago • 3 comments

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.

mseaton avatar Oct 05 '23 16:10 mseaton

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

mks-d avatar Jun 28 '24 14:06 mks-d

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

mseaton avatar Jun 28 '24 14:06 mseaton

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

mks-d avatar Jun 28 '24 14:06 mks-d