Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Medium
-
Resolution: Done
-
Labels:
Description
OpenMRS REST API returns search results for concept names in all locales. The API does not currently have options to filter needed locale for returned results. mUzima uses OpenMRS REST API to search for concepts names, and displays the first name in the returned list, which is not necessarily user preferred locale.
There's need to devise a way for the app to display Concepts in user preferred locale. e.g
- Use mUzima module on OpenMRS side as proxy for the search, so the the APK queries the module, and the module queries REST API then filters the results before returning to the APK. This is to save the apk from too much processing, bandwidth and storage space requirements, and users can be allowed to control which locale they download.
- Save search results in all Locales, and display based on device language settings.
- Save search results in current Locale based on device language settings, then re-download and save in new Locale in case device settings change.
This ticket require brainstorming to decide best approach, before actual work begins.
Gliffy Diagrams
Attachments
Issue Links
- relates to
-
MUZIMA-538 Cannot parse and search concepts in Portuguese setting
-
- Closed
-