(I18n) Web API resource for internationalized strings

Registered by Lars Helge Ă˜verland on 2013-11-01

For bundled DHIS 2 apps, we need a way to retrieve internationalized strings based on the module and the current locale.

API for this is available at /api/i18n. You will need to add the ?package=XXX parameter so say which package is should start searching in (uses std dhis fallback, so tries this first, then commons).

The JSON format is an array, ['key1', 'key2'] and the return is a dictionary with keys set to their respective values, { 'key1': 'value1', 'key2': 'value2' }.

Blueprint information

Status:
Complete
Approver:
Lars Helge Ă˜verland
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
Morten Olav Hansen
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2.14
Started by
Morten Olav Hansen on 2013-11-20
Completed by
Morten Olav Hansen on 2013-11-22

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.