#32737: get_language_info replaces requested language code with the one found in
django.conf.locale.LANG_INFO
-------------------------------------+-------------------------------------
     Reporter:  ruffni               |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:                       |                  Version:  3.1
  Internationalization               |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  i18n,                |             Triage Stage:
  get_language_info, language code,  |  Unreviewed
  LANG_INFO, documentation           |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 I think this is expected behaviour, because Django has no `fr-ch`
 translations (French translators do not think it's worth maintaining
 country-specific translations).

 If you really want it, you could add any "new" language by following
 https://docs.djangoproject.com/en/stable/topics/i18n/translation
 /#localization-how-to-create-language-files

 I'm closing the ticket, but this does not mean we cannot continue the
 discussion, if needed.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32737#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/064.4ae0a8c1abb4a7ab1f77260b85def271%40djangoproject.com.

Reply via email to