Le 12. 08. 18 à 00:28, Deniz Bazan a écrit :
I m trying to make a website in 5 languages. The main language should be kurdish but it is not supported by Django default. I tried already the how to add new languages into Django? <https://stackoverflow.com/questions/12946830/how-to-add-new-languages-into-django-my-language-uyghur-or-uighur-is-not-su/>

but it didnt work for me. I receive an error mesagge

Hi Deniz,

I don't think you need any sophisticated method to do that. Just add your language to the LANGUAGES setting and it should work.

LANGUAGES = [
    ('ku', gettext_noop('Kurdish')),
    #... other languages
]

But of course, the best would be to provide a Kurdish translation for Django itself. There is already a Central Kurdish (Sorani) language team, but unfortunately without translations yet:
https://www.transifex.com/django/django/language/ckb/

Talk to me if your Kurdish variant is not Sorani and you are ready to provide translations.

Blessings,

Claude
--
www.2xlibre.net

--
You received this message because you are subscribed to the Google Groups "Django 
internationalization and localization" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-i18n+unsubscr...@googlegroups.com.
To post to this group, send email to django-i18n@googlegroups.com.
Visit this group at https://groups.google.com/group/django-i18n.
For more options, visit https://groups.google.com/d/optout.

Reply via email to