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
Version:
2.22
Build revision:
21811
** Affects: dhis2
Importance: Undecided
Status: New
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?
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.
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?
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?
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?
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?