#31172: Wrong translation for "yes,no,maybe" in several .po files.
-------------------------------------+-------------------------------------
Reporter: José Antonio Ruiz | Owner: nobody
Type: Bug | Status: new
Component: | Version: 2.2
Internationalization |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by José Antonio Ruiz:
Old description:
> I've just discovered by doing something like this in a template: {{
> some_boolean|yesno|capfirst }} that the translation for "yes,no,maybe" is
> incorrect for several languages.
>
> For example, for Spanish language, the translation is: "sí, no, quizás",
> which adds an extra space before "no" and before "quizás". That makes the
> "no" and "maybe" translations to be wrong because they add an extra space
> at the beggining so "capfirst" won't work properly because it capitalizes
> the first letter, which is an space.
>
> I've detected it in 2.2.9 and I've checked that this is still an issue in
> "master".
>
> The affected languages in 2.2.9 are:
> "bg"
> "br"
> "cs"
> "es"
> "es_CO"
> "es_MX"
> "es_VE"
> "fr"
> "ga"
> "hi"
> "mk"
> "ml"
> "ne"
> "te"
> "vi"
>
> I will try to fix it by myself if nobody does in several weeks as it's
> quite easy to fix but I don't have time at the moment (as it would be my
> first fix and I should have to read all documentation related with
> contributing).
New description:
I've just discovered by doing something like this in a template: {{
some_boolean|yesno|capfirst }} that the translation for "yes,no,maybe" is
incorrect for several languages.
For example, for Spanish language, the translation is: "sí, no, quizás",
which adds an extra space before "no" and before "quizás". That makes the
"no" and "maybe" translations to be wrong because they add an extra space
at the beggining so "capfirst" won't work properly because it capitalizes
the first letter, which is an space.
I've detected it in 2.2.9 and I've checked that this is still an issue in
"master".
The affected languages in 2.2.9 are:
"bg"
"br"
"cs"
"es"
"es_CO"
"es_MX"
"es_VE"
"fr"
"ga"
"hi"
"mk"
"ml"
"ne"
"te"
"vi"
Edit 1: for spanish translation, the extra spaces where added 7 years ago
in this commit: 6ca475d540361090e8b28154ce5391de718d5c63 but I've using
this without a problem after that so maybe there was some change anywhere
else.
I will try to fix it by myself if nobody does in several weeks as it's
quite easy to fix but I don't have time at the moment (as it would be my
first fix and I should have to read all documentation related with
contributing).
--
--
Ticket URL: <https://code.djangoproject.com/ticket/31172#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.e1af250409a135d05e25bb58c26d1940%40djangoproject.com.