#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:

> Hi, 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 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:

 Hi, 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).

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31172#comment:1>
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.cab697894fc18f1648410eb5c9de92a9%40djangoproject.com.

Reply via email to