View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002378 | GeoSetter | User Interface | public | 2022-11-30 21:03 | 2022-12-24 18:44 |
Reporter | ThunderBoy | Assigned To | Friedemann | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0002378: Problem with Plural Forms in localization Gettext (PO) files | ||||
Description | I encountered am on problem by the declensions the word in the localization file. It always shows only the original word and not the translated word from the plural. The program probably ignores this bending setting in the language file and replaces the translated word with the original English word, e.g. "Images" as below. In the .po file, the following line is of course inserted in the header: "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" Original/Translated: msgid "%d Images" msgstr "%d obrázkov" Edited: msgid "%d Images" msgid_plural "%d Images" msgstr[0] "%d obrázok" msgstr[1] "%d obrázky" msgstr[2] "%d obrázkov" With this setting, the plural will never display the translation, e.g. "obrázkov". I've tested it several times on GeoSetter 3.5.3. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2022-11-30 21:03 | ThunderBoy | New Issue | |
2022-12-21 09:32 | Friedemann | Status | new => assigned |
2022-12-21 09:32 | Friedemann | Assigned To | => Friedemann |