East Meets West When Translating Django Apps
summary
A Django admin front end for a family sales app is built, deployed to Heroku, and uses Amazon s3 for images; language switching works via flag widgets that toggle English and simplified Chinese. Actual steps: enable locale middleware and language settings, add URL prefixes, mark every visible string with gettext and gettext_lazy, then generate and compile .po/.mo files with makemessages and compilemessages for the zh-hans locale. Translations are provided by a native speaker and the site displays translated titles buttons and filters.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 2:35Demo
- 4:19Workflow
- 8:17Application Settings
- 12:27Language Prefixes
- 18:28Message Files
- 22:43Big Picture
related talks
43mEita! Why Internationalization and Localization matter
29mSpanish Spoken Here
20mFinding translations, localisation and internationalisation
19mData internationalization in Django
08mLocalization for Real-World Use-Cases: Key Learnings from Onboarding Global Brands
22mAll about djangoproject.com
34mLocalize your Rails application like a pro
05mSay Hello! to Multilingual Shiny Apps
