Backlog #4213
Support better translations with gettext
Status: | New | Start date: | 11/26/2015 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Sunstone | |||
Target version: | - |
Description
To support sprintf like strings, and plural forms. One example:
i18n.translate("There is one running VM.") .ifPlural( num, "There are %d running VMs." ) .fetch( num );
One possible js lib: https://slexaxton.github.io/Jed/
Related issues
History
#1 Updated by Carlos Martín about 5 years ago
- Tracker changed from Feature to Backlog
- Priority changed from Normal to High
#2 Updated by Carlos Martín almost 5 years ago
- Duplicated by Request #4822: Gender support to locales - translations added