Backlog #4213

Support better translations with gettext

Added by Carlos Martín over 5 years ago. Updated about 5 years ago.

Status:NewStart date:11/26/2015
Priority:HighDue 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

Duplicated by Request #4822: Gender support to locales - translations Closed 09/24/2016

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

Also available in: Atom PDF