Re: how to add a language in Django that its not supported by default?

2018-08-13 Thread Claude Paroz
Le 12. 08. 18 à 23:04, Deniz Bazan a écrit : I use Django 2.1 Ok, noted. Wenn i run the command makemessages(with django-admin or manage.py) i recieve same error. I have in locale 'ku' po file but it dosent work hier is the traceback ... >File > "/media/kole/WORKS/works/goge/goge_web/v

Re: how to add a language in Django that its not supported by default?

2018-08-13 Thread claudep
We had private exchanges to sort this out. The summary is that if you don't need the get_language_info_list template tag, then adding the language in settings.LANGUAGES is enough. Otherwise you have to fiddle with django.conf.locale.LANG_INFO (which we didn't do because a language switcher can b