Changes between Version 5 and Version 6 of i18n/GUI-Localization


Ignore:
Timestamp:
Oct 11, 2014, 4:58:55 PM (10 years ago)
Author:
pulkomandy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TabularUnified i18n/GUI-Localization

    v5 v6  
    2929Some languages use more specific plural forms than English, for example special  plural forms for 2 or 3 to 5 items. To account for that you may find strings to translate like:
    3030{{{
    31 {0, plural, one{# new message} other{# new messages}}
     31{0, plural, one{There is # new message} other{There are # new messages}}
    3232}}}
    33 You only translate the strings following the #, i.e. ''new message'' and ''new messages''.
     33You only translate the strings in the deepest level of braces, i.e. ''# new message'' and ''# new messages''. Te # is replaced by a number.
    3434If your target language has additional plural forms, you can add additional rules besides ''one'' and ''other'', see [http://cldr.unicode.org/index/cldr-spec/plural-rules the spec] and this [http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html language table]. For example:
    3535{{{
    36 {0, plural, zero{# new message} one{# new message} few{# new messages} other{# new messages}}
     36{0, plural, zero{There are no new messages} one{There is # new message} few{There are # new messages} other{There are # new messages}}
    3737}}}