← Back to team overview

dhis2-devs team mailing list archive

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

 

Marked invalid as the /api/locales/db exposes the correct locale list

** Changed in: dhis2
       Status: Confirmed => Invalid

-- 
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:
  Invalid

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


References