Hi there,
-- I would like to add a custom language to support for i18n. You can check my question here http://stackoverflow.com/questions/38511925/add-custom-language-for-localization-in-django-app. I have followed all the steps mentioned here http://stackoverflow.com/questions/19267886/adding-a-custom-language-to-django.
In short, the steps are as follows
1. add a custom language(NEW) dictionary to settings file and update LANG_INFO dictionary
2. add new language to LANGUAGES as well for i18n to detect
3. compile message for the new language
Problem is that when I visit the home page with new language code then it redirects to /en/NEW
Can somebody point out the error or make it working?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ac797860-0882-4cae-9064-f1e07e60a9c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment