View Issue Details

IDProjectCategoryView StatusLast Update
0002378GeoSetterUser Interfacepublic2022-12-24 18:44
ReporterThunderBoy Assigned ToFriedemann  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0002378: Problem with Plural Forms in localization Gettext (PO) files
DescriptionI 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.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

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