#11068: Wrong language code for Norwegian (Bokmål) -------------------------------------+-------------------------------------- Reporter: nfg | Owner: nobody Status: new | Milestone: Component: Internationalization | Version: 1.0 Keywords: language_code norwegian | Stage: Unreviewed Has_patch: 0 | -------------------------------------+-------------------------------------- According to the [http://www.gnu.org/software/gettext/manual/gettext.html #The-LANGUAGE-variable The GNU gettext manual] the language code for Norwegian bokmål have changed from 'no' to 'nb'. In Django the language code used is 'no'. This should be renamed to 'nb', if there is not a very good reason not to.
As a intermediate measure it is perhaps a good idea to set LANGUAGE_CODE = 'nb:no' in settings.py if you use Norwegian, then both language codes would be searched for translations. Perhaps this should be mentioned in the Internationalization documentation somewhere? Perhaps a section about language codes? I can make a documentation patch for it. -- Ticket URL: <http://code.djangoproject.com/ticket/11068> Django <http://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 post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
