dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #26617
Re: API for pulling Multilingual Labels?
Hi Rodolfo,
We already have a blueprint for this (for 2.14, but it has not been
assigned yet). You can see it at [1].
Do you need multiple translation for a single user, or is it enough that
data-element names etc returned are in the users db-locale?
[1] https://blueprints.launchpad.net/dhis2/+spec/i18n-in-web-api
--
Morten
On Fri, Dec 6, 2013 at 12:55 PM, Rodolfo Melia <rmelia@xxxxxxxxxxxx> wrote:
> Hi - as part of some of the apps that we are coding, as well as 7 complex
> custom forms that we are about to build (they will have some JScript for
> logic), we will need both (apps and forms) in 3 languages (total 21 forms
> if we use the current way of doing things).
>
> Does the current metadata API has a function to retrieve multilingual
> values?
> What we are looking is the possibility to retrieve the Name, Form Name or
> Short Name of a DataElement, Category or Option Set in the current-user
> language by passing the UID or Code.
>
> If this functionality doesn't exist at the moment:
> - Should it be added to the metadata api?
> - Should it be part of the Categories/ Data Elements/ api?
>
> PSI will be happy to contribute on the development of this under your
> guidance.
>
> Rodolfo
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References