Test User Interface Translations
If you want to test Plinth (FreedomBox user interface) translations you can use a Virtualbox image, please follow these steps.
Boot the FreedomBox to terminal and login (fbx:frdm)
To install GNU gettext tools and prepare new Plinth (torrc needed to start recent plinth, not needed when PR #324 is merged)
sudo apt-get update sudo apt-get install gettext sudo mkdir /etc/tor sudo touch /etc/tor/torrc sudo mv /etc/plinth/plinth.config /etc/plinth/plinth.config_disabled git clone https://github.com/freedombox/Plinth cd ~/Plinth nano plinth.config (change line 8 to read "server_dir = /plinth")
Download django.po from Transifex and place it in ~/Plinth/plinth/locale/<yourlanguage>/LC_MESSAGES/ (download on host, transfer to guest using e.g. scp or VirtualBox Shared Folders)
- To prepare translation and run new plinth do:
sudo service plinth stop cd ~/Plinth/plinth django-admin compilemessages cd.. sudo ./run --debug --no-daemon
- Enjoy your translation!
- To update .po with new strings from source code run (.po needs review after this!):
django-admin makemessages -l <your language>
NOTE: Any of this may break at any time because it follows development master branch in git which changes constantly.