Session

East Meets West When Translating Django Apps

Level: All

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.