Contribute Media
A thank you to everyone who makes this possible: Read More

East Meets West When Translating Django Apps

Translations: en

Description

Translating a web app can seem like a daunting challenge. Thankfully, though, Django provides a bunch of features out of the box that handle the mechanics of picking languages and substituting strings. In this talk, we’ll show how easy it is to provide translations for both new apps and existing ones. For example code, I’ll show Django apps I developed for small businesses operating both in the USA and in China.

We’ll cover:

  • Settings and structure for languages
  • URL routing and language detection
  • Providing translations in message files
  • Areas in the app to insert translation strings (particularly overlooked areas)
  • As a bonus, we’ll also look at translating the Django admin site!

After this talk, audience members will be able to translate their Django apps without hitting common snags, helping to bring the world together just a bit more.

#PWC2022 attracted nearly 375 attendees from 36 countries and 21 time zones making it the biggest and best year yet. The highly engaging format featured 90 speakers, 6 tracks (including 80 talks and 4 tutorials) and took place virtually on March 21-25, 2022 on LoudSwarm by Six Feet Up.

More information about the conference can be found at: https://2022.pythonwebconf.com

Details

Improve this page