[Django]-Multiple dialects of languages in Django-CMS

3👍

Django I18N Docs explain two codes as shown below. en_GB is the Great Britain (UK) locale. en-CA is English as spoken in Canada.

  1. locale name has an underscore
  2. language_name has a dash or hyphen

0👍

I think it’s sequence issue, Languages must be above the language_code. could you please try this below.

LANGUAGES = (
        ('en-us', u'English (US)'),
        ('de', u'Deutsch'),
        ('en-gb', u'English (UK)'),
        ('es', u'Español'),
        ('fr', u'Français'),
        ('pt', u'Português'),
    )    

 LANGUAGE_CODE = 'en-us'

Leave a comment