Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 430 Bytes

internationalisation.md

File metadata and controls

16 lines (16 loc) · 430 Bytes

For internationalisation

First create a dir locale/ in your app to translate then launch in this directory in your container

django-admin makemessages -l LANGUAGE_CODE

Then translate each string in the files in your_app.locale. After that add the path of your app in the LOCALE_PATH. And finally (could be launch anywhere),

django-admin compilemessages

or on your host

make compilemessages