If your concept dictionary database tables include names for locales that are not listed in the 'locale.allowed.list' global property, you'll get some confusing behavior if you try to edit a concept with a name in a non-allowed locale. You won't be able to edit the concept, and you will see the error message "You should only use locales listed among allowed locales"
Some scenarios where this can easily happen are:
- You are using the MVP dictionary
- You have imported concepts from a multi-lingual dictionary using Metadata Sharing
- You have manually changed the locale.allowed.list property to let people choose fewer locales than your concept dictionary has.
It is incorrect behavior for our web application to give this error message. Per email discussion (http://openmrs-mailing-list-archives.1560443.n2.nabble.com/Allowed-concept-locales-tp6162308p6162308.html) we've decided on the following solution:
- ConceptValidator should permit names in non-allowed locales.
- The edit concept page should show locale tabs for the union of allowed locales + locales the concept currently has a name for