plural

Eesti keele mitmus po failides

Ilmselt algselt Eesti keelt, siia tõlke serverisse, defineerides on jäänud mitmuste määrang kirjeldamata/importimata. Seetõttu on siit eksporditavatel .po failidel päises puudu rida:

"Plural-Forms: nplurals=2; plural=n != 1;"

Linuxis on seda lihtne parandada järgmise käsuga (minnes eelnevalt kataloogi kuhu exporditud fail lahti pakiti):

find . -type f -exec sed -i -e '/^"Content-Transfer/a\"Plural-Forms: nplurals=2; plural=n != 1;\\n"' {} \;

Plural header missing in .po file

Hi,

I have been translating drupal to Estonian but found similar problem like described here: http://drupaler.ru/node/145.

I have imported some po files with plurals in it and they seem to be fine.

Problem is, when exporting translation there is missing header line for plural definition. For Estonian it should be: "Plural-Forms: nplurals=2; plural=n != 1;".

As I understood from above link, import of correct po file to drupal (not to language server) is needed. But I do not have access to http://drupaler.ru/admin/settings/locale/language/import.