dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #43189
[Bug 1544104] Re: Locales available through the API are not equal to the ones in the Struts UI
TranslateAction and LocaleCotnroller uses two different sources for
locale listing, one is using ResouceBundleManager and the other is using
LocaleUtils (which again uses commons locale).
I'm not entirely sure which one is correct, Lars would know more about
that.
** Changed in: dhis2
Importance: Undecided => Low
** Changed in: dhis2
Status: New => Confirmed
** Changed in: dhis2
Assignee: (unassigned) => Lars Helge Øverland (larshelge)
** Changed in: dhis2
Milestone: None => 2.23
--
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:
Confirmed
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