translations newbie - plurals

View: New views
3 Messages — Rating Filter:   Alert me  

translations newbie - plurals

by Prkos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi :)

I have just recently started to do some translations for drupal core and some modules. I have chosen gtranslator as my editor of choice for pot files but I get errors about plurals. Could you point me to a resource where po header info is explained so I can learn how to do this right (or any general translators guide)? There doesn't seem to be any documentation about it on drupal.org.

Thank you
Mihaela

_______________________________________________
translations mailing list
translations@...
http://lists.drupal.org/mailman/listinfo/translations

Re: translations newbie - plurals

by Fernando P. García :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For spanish I use: "Plural-Forms: nplurals=2; plural=(n!=1);\n"

On Mon, Jul 20, 2009 at 4:12 PM, Prkos <prkos@...> wrote:
Hi :)

I have just recently started to do some translations for drupal core and some modules. I have chosen gtranslator as my editor of choice for pot files but I get errors about plurals. Could you point me to a resource where po header info is explained so I can learn how to do this right (or any general translators guide)? There doesn't seem to be any documentation about it on drupal.org.

Thank you
Mihaela

_______________________________________________
translations mailing list
translations@...
http://lists.drupal.org/mailman/listinfo/translations




--
Fernando P. García, http://www.develcuy.com
Developer - Analista de Sistemas
+51 1 9 8991 7871, Calle Santa Catalina Ancha #377, Cusco -Perú

** Antes de imprimir este mensaje piensa en tu compromiso con el medio ambiente, protegerlo depende de tí.

_______________________________________________
translations mailing list
translations@...
http://lists.drupal.org/mailman/listinfo/translations

Re: translations newbie - plurals

by Erik Stielstra :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would expect your translation program to have an option to enter a  
plural formula and the other po-file header data, I know the Poedit  
editor has.

You will find background information on the plural formulas on http://www.gnu.org/software/hello/manual/gettext/Plural-forms.html 
  You also find there example formulas of many languages.


Regards,
Erik Stielstra



On 20 jul 2009, at 23:12, Prkos wrote:

> Hi :)
>
> I have just recently started to do some translations for drupal core  
> and some modules. I have chosen gtranslator as my editor of choice  
> for pot files but I get errors about plurals. Could you point me to  
> a resource where po header info is explained so I can learn how to  
> do this right (or any general translators guide)? There doesn't seem  
> to be any documentation about it on drupal.org.
>
> Thank you
> Mihaela
> _______________________________________________
> translations mailing list
> translations@...
> http://lists.drupal.org/mailman/listinfo/translations

_______________________________________________
translations mailing list
translations@...
http://lists.drupal.org/mailman/listinfo/translations