-
Notifications
You must be signed in to change notification settings - Fork 28
translation guide
Jan Poctavek edited this page Aug 20, 2020
·
2 revisions
Translating Danube Cloud interface into a new language is quite easy. We are using Django translations.
- generate translation files (example language: Italiano)
esdc-ce# cd gui
gui# ../bin/ctl.sh makemessages -l it
gui# ../bin/ctl.sh makemessages -e js -l it -d djangojs
- add translation to settings
gui# git diff ../core/settings.py
LANGUAGES = (
('en', 'English'),
+ ('it', 'Italiano'),
-
edit translations in
locale/it/LC_MESSAGES/django.po
andlocale/it/LC_MESSAGES/djangojs.po
-
compile translations
../bin/ctl.sh compilemessages
-
restart Danube Cloud
-
go to user profile settings and choose a new translation
-
done
Homepage | User Guide | API Reference | Wiki