#31172: Wrong translation for "yes,no,maybe" in several .po files.
------------------------------------------------+------------------------
               Reporter:  José Antonio Ruiz     |          Owner:  nobody
                   Type:  Bug                   |         Status:  new
              Component:  Internationalization  |        Version:  2.2
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 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).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31172>
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/050.f17ed645c3c2c44f2fec56fdb3492c68%40djangoproject.com.

Reply via email to