#25820: Month names can't be localized properly in admin Javascript
-------------------------------+--------------------
     Reporter:  gunchleoc      |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  contrib.admin  |    Version:  1.8
     Severity:  Normal         |   Keywords:  i18n
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 While localizing https://www.transifex.com/django/django/contrib-admin-
 js/, I ran into the following string in
 contrib/admin/static/admin/js/calendar.js:11:

     January February March April May June July August September October
 November December

 Which I have now to translate as:

     Faoilleach Gearran Màirt Giblean Cèitean Ògmhios Iuchar Lùnastal
 Sultain Dàmhair Samhain Dùbhlachd

 However, the natural translation for

     January

 is

     Am Faoilleach

 and similarly for all the month names.

 The point here is that the code has no way of knowing which whitespaces to
 choose as segmentation tokens.

 So, I recommend translating these as separate entries, just like in the
 Python part of the code. The "S M T W T F S" string should then also be
 split for consistency.

--
Ticket URL: <https://code.djangoproject.com/ticket/25820>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.7ea107d2bf33a598bad285501df8cd34%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to