Askbot translation

Hi,

not shure what to do with some Askbot strings:
https://translations.documentfoundation.org/hr/askbot/translate.html#page=2

On Pootle string has tri boxes (for singular, dual and plural), but I'm not translating online, using Poedit. When download .po files, Poedit does not recognize all three forms, just two of them: Form 0 and Form 1.

Since this is not a Poedit mailing list, I wonder why downloaded .po file has only msgstr[0] "" and msgstr[1] ""? Can I manualy add msgstr[2] "" to a django.po file?

Next what I need to know what is a purpose of "d" in %(max_tags)d? Should that be unchanged in translation or should be translated? Samo thing with "s" outside the brackets in %(tags)s (https://translations.documentfoundation.org/hr/askbot/translate.html#unit=41139275)…

Krunoslav

The 'd' and 's' are printf format specifiers. 'd' means decimal, 's' means
string. They should be left alone unless you want to break things.

As for the missing plural forms, that's caused by wrong plural forms entry
in the .po header. It should be:

Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 &&
n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);

Thanks on quick reply

The 'd' and 's' are printf format specifiers. 'd' means decimal, 's' means string. They should be left alone unless you want to break things.

So I'm not touching them.

As for the missing plural forms, that's caused by wrong plural forms entry in the .po header. It should be:

Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);

Can I just paste this one you've posted here over one in .po file if we are talking about Croatian language? Should I put \n on the end of the line, I see that every other line in django.po header ends with \n.

Krunoslav

Hi

For askbot, I think it is better to go directly to the askbot
translation tool located in

https://www.transifex.com/projects/p/askbot/

This is because we will deploy a fresh instance of the latest release of
Askbot and we will try to avoid customizations.

Regards

Olivier

Hi,

not shure what to do with some Askbot strings:
https://translations.documentfoundation.org/hr/askbot/translate.html#page=2

On Pootle string has tri boxes (for singular, dual and plural), but I'm
not translating online, using Poedit. When download .po files, Poedit
does not recognize all three forms, just two of them: Form 0 and Form 1.

Since this is not a Poedit mailing list, I wonder why downloaded .po
file has only msgstr[0] "" and msgstr[1] ""? Can I manualy add msgstr[2]
"" to a django.po file?

Next what I need to know what is a purpose of "d" in %(max_tags)d?
Should that be unchanged in translation or should be translated? Samo
thing with "s" outside the brackets in %(tags)s
(https://translations.documentfoundation.org/hr/askbot/translate.html#unit=41139275)…

Krunoslav

- --
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
The Document Foundation, Zimmerstr. 69, 10117 Berlin, Germany
Fundação responsável civilmente, de acordo com o direito civil
Detalhes Legais: http://www.documentfoundation.org/imprint
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812

I that case, why wasn't the "askbot" project removed from TDF Pootle?
It's just wasting the time of translators.

2013.07.14 05:39, Adolfo Jayme Barrientos wrote:

Hi

For askbot, I think it is better to go directly to the askbot
translation tool located in

https://www.transifex.com/projects/p/askbot/

This is because we will deploy a fresh instance of the latest release of
Askbot and we will try to avoid customizations.

Regards

Olivier

I that case, why wasn't the "askbot" project removed from TDF Pootle?
It's just wasting the time of translators.

I guess nobody asked Pootle admins to remove it.

Rimas

Hi,

2013.07.14 05:39, Adolfo Jayme Barrientos wrote:

For askbot, I think it is better to go directly to the askbot
translation tool located in

https://www.transifex.com/projects/p/askbot/

I that case, why wasn't the "askbot" project removed from TDF Pootle?
It's just wasting the time of translators.

The askbot project is gone now. :wink:

Regards,
Rimas