← Back to team overview

dhis2-devs team mailing list archive

[Bug 1544104] [NEW] Locales available through the API are not equal to the ones in the Struts UI

 

Public bug reported:

The uiLocale values that are returned from the API and are used for the
selection box for the "new" translation dialog has less locales than the
dropdown in the struts module.

The selectbox in the struts module has 36 languages while the API
endpoint just returns 24 languages. I would expect the API endpoint to
return the same languages?

API Options
https://play.dhis2.org/demo/api/locales/ui.json

Version:
2.22
Build revision:
21811

** Affects: dhis2
     Importance: Undecided
         Status: New


** Tags: api

** Attachment added: "Screen Shot 2016-02-10 at 16.14.06.png"
   https://bugs.launchpad.net/bugs/1544104/+attachment/4568557/+files/Screen%20Shot%202016-02-10%20at%2016.14.06.png

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1544104

Title:
  Locales available through the API are not equal to the ones in the
  Struts UI

Status in DHIS:
  New

Bug description:
  The uiLocale values that are returned from the API and are used for
  the selection box for the "new" translation dialog has less locales
  than the dropdown in the struts module.

  The selectbox in the struts module has 36 languages while the API
  endpoint just returns 24 languages. I would expect the API endpoint to
  return the same languages?

  API Options
  https://play.dhis2.org/demo/api/locales/ui.json

  Version:
  2.22
  Build revision:
  21811

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1544104/+subscriptions


Follow ups