Hi everyone

DB Translation is now supported in the Web-API.

Two new parameters were added to the web-api:
translate=true/false          Translates using default user locale
locale=locale-tag              Translate using a specified locale (great
for testing etc, implies translate=true)

I have exposed all display* properties:
displayName
displayShortName
displayDescription
displayFormName

So these should be used instead of name, shortName etc.

For now, two endpoints supports translation:
/api/type
/api/type/id

I will add support for more endpoints very soon, please report back if you
find any issues

--
Morten
-- 
Mailing list: https://launchpad.net/~dhis2-devs-core
Post to     : dhis2-devs-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to