Python Forum

Full Version: Multilingual Website
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!
I need to create multilingual website using django. I know, I can do it on front-end side.
My question is: Is it possible to translate website using django for 3+ languages (import file with necessary language to django, and then translate  it using this file). I heard about ugettext and ugettext_lazy. Can I use them to solve this problem, how, and are there any ways to do this task?:)
You can always add a like to google translator see: https://support.google.com/translate/ans...4601?hl=en
Google translate isn't a thing I'm looking for, cause it translates hard words and sentences like ( Exclamation ). So I'm forbidden to use it. I need to do it only adding custom translation to django. Btw, thx for reply.
Then you can choose a translation package here: https://pypi.python.org/pypi?%3Aaction=s...mit=search
Also take a look at: https://docs.djangoproject.com/en/2.0/topics/i18n/