Closed (fixed)
Project:
Translation template extractor
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2009 at 02:39 UTC
Updated:
3 Feb 2009 at 12:34 UTC
Hi, I'm pretty new to module translations, however I think the German plural forms generation is not working correctly.
Whenever I create a German translation template the "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" is set to Plural-Forms: nplurals=0; plural=;\n instead of "Plural-Forms: nplurals=2; plural=(n!=1);\n" (according to German translations of other modules). Thus throwing an error when importing the file.
Comments
Comment #1
account-deletion-needed commentedUpdate: This only seems to happen on certain module translations, but not all the time.
Comment #2
gábor hojtsyYou can export a half-translated template with potx which also exports the language plurals code properly from your site (if the language is installed), or you can just export a template for the specific language. All should have the right plural form, since the plural form Drupal knows about was imported before, so it should have been right. Fiddling with these formulas manually can get your to errors quickly.
Please reopen if this did not work out.