In this tutorial, I'm gonna explain to you how you can make your websites multilingual in Django.
It's recommended to have a basic understanding of Django for this tutorial.
Github link for this project: github.com/rootamin/django_internationalization
comment if you have any questions.
Timestamps:
00:00:00 - Intro
00:01:25 - Django initial setup
00:05:27 - Basic styling
00:09:13 - Setting up and viewing our basic model
00:17:00 - Django internationalization and gettext explanation
00:31:30 - Setting up rosetta and i18n urls
00:40:00 - parler setup / model translation
00:51:10 - model translation with ForeignKey
01:02:20 - Template translation
01:09:15 - HTML dir (ltr&rtl) problem solution
01:12:19 - Prefix default language on url modification
01:13:45 - rosetta usage on production notes
01:15:15 - Custom admin class / filtering translated queries
01:19:14 - Translating flash messages
01:30:50 - Adding language selector
01:39:45 - Outro
====================================
Socials:
GitHub: github.com/rootamin
Discord: discord.gg/TFvNHugvEs
Twitter: twitter.com/osaliamin
Instagram: instagram.com/024rootamin
Telegram: t.me/rootamin