DjangoCon US 2018 - Becoming a Multilingual SuperHero in Django by Sanyam Khurana

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=Oq9sJTeI2_g



Duration: 0:00
51 views
2


DjangoCon US 2018 - Becoming a Multilingual SuperHero in Django by Sanyam Khurana

You have got this super awesome REST API served through Django/DRF based project and suddenly these requirements come in:

We need to have a local support for the Chinese language!

In case, you’ve not written your application with localization and internationalization in mind, then “Boy! You’re in danger! You should better start praying to almighty to give you strength and endurance to support yet another language in your app”.

In this talk, we’ll see how do we support localization and serve our app in different languages, based on what language the client wants to communicate in. As a backend, we should be language agnostic and allow all clients to communicate with us in one of the languages we support.

We’ll see how to support translation for static data (using makemessages / compilemessages) and dynamic data, using various third-party services such as django-translations and transifex.

Here, static data is translations for all the fields, error messages etc. that the app already has and dynamic data is the custom data input by the user in the app.

This would enable you to have your admin panel, as well as RESTful APIs, served in different languages.




Other Videos By Confreaks


2022-04-08DjangoCon US 2018 - What's in a Name? Your Guide to the Wacky World of DNS by Ashley Sullins
2022-04-08DjangoCon US 2018 - "Normalize until it hurts; denormalize until it works"... by Flávio Juvenal
2022-04-08DjangoCon US 2018 - Fundamentals of Kubernetes for Django developers by Graham Dumpleton
2022-04-08DjangoCon US 2018 - Serverless Django with Zappa by Dane Hillard
2022-04-08DjangoCon US 2018 - JavaScript for Python Developers by Žan Anderle
2022-04-08DjangoCon US 2018 - Introduction to Django and GraphQL by Patrick Arminio
2022-04-08DjangoCon US 2018 - Simpl framework, big impact! by Joseph Lee & Jane Eisenstein
2022-04-08DjangoCon US 2018 - Lightning Talks Day 2
2022-04-08DjangoCon US 2018 - Keynote by Anna Makarudze
2022-04-08DjangoCon US 2018 - Your web framework needs you! by Carlton Gibson
2022-04-08DjangoCon US 2018 - Becoming a Multilingual SuperHero in Django by Sanyam Khurana
2022-04-08DjangoCon US 2018-A Bossy Sort of Voice: Uncovering Gender Bias in Harry Potter by Eleanor Stribling
2022-04-08DjangoCon US 2018 - Auto-generating an API using PostgreSQL... by Mjumbe Poe
2022-04-08DjangoCon US 2018 - Autonomous Vehicles, Intelligent Transportation Systems... by Ken Whitesell
2022-04-08DjangoCon US 2018 - Transfer those Skills!... by Caroline Taylor and Rebekah Post
2022-04-08DjangoCon US 2018 - Herding Cats with Django... by Sage Sharp
2022-04-08DjangoCon US 2018 - Code Review Skills for Pythonistas by Nina Zakharenko
2022-04-08DjangoCon US 2018 - Wagtail CMS - Making Django More User (and Developer) Friendly by Sara Heins
2022-04-08DjangoCon US 2018 - A Python-Driven Web App Framework... by Kendall Chuang and Henry Olson
2022-04-08DjangoCon US 2018 - An Intro to Docker for Djangonauts by Lacey Williams Henschel
2022-04-08DjangoCon US 2018 - Elasticsearch: Accelerating the Django Admin by Kate Kligman