translate / l10n-guide

Localisation guide
https://docs.translatehouse.org/projects/localization-guide/
56 stars 69 forks source link

Fix incorrect pt_BR plural form expression. #6

Closed vslavik closed 11 years ago

vslavik commented 11 years ago

The expressions for Portuguese and Brazilian Portuguese were incorrectly the same, but there's a subtle difference: in pt, 0 is considered plural, while it is singular in pt_BR.

Sources: gettext-tools/src/plural-table.c in GNU gettext 0.18.3.1 as well as Mozilla and Launchpad language descriptions: https://translations.launchpad.net/+languages/pt_BR https://translations.launchpad.net/+languages/pt (Unicode CLDR doesn't have a Brazilian variant entry)

SimonSimCity commented 11 years ago

Just to link it here - there's a similar issue opened in the issue-tracker of unicode.org: http://unicode.org/cldr/trac/ticket/2746

dwaynebailey commented 11 years ago

Merged in e5e820a979