Differences between revisions 5 and 7 (spanning 2 versions)
Revision 5 as of 2015-12-13 17:54:14
Size: 1938
Comment: Fix typo
Revision 7 as of 2015-12-23 04:47:50
Size: 1965
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * 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 [[https://github.com/freedombox/Plinth/pull/324|PR #324]] is merged)
 * Go to Plinth in browser on host (https://fbx-ip). Complete the first boot setup process. During the process, you will create and administrator account. Use this account to login in the next step.

 * Boot the !FreedomBox to terminal and login with the administrator account during first boot process.
Line 14: Line 15:
sudo mkdir /etc/tor
sudo touch /etc/tor/torrc
Line 23: Line 22:
 * Download django.po from Weblate or use your local copy and place it in ~/Plinth/plinth/locale/<yourlanguage>/LC_MESSAGES/ (download on host, transfer to guest using e.g. scp or VirtualBox Shared Folders)  * Download django.po from Weblate or use your local copy and place it in ~/Plinth/plinth/locale/<yourlanguage>/LC_MESSAGES/ (download on host, transfer to guest using e.g. scp or !VirtualBox Shared Folders)

Test User Interface Translations

If you want to test Plinth (FreedomBox user interface) translations you can use a Virtualbox image, please follow these steps.

  • Setup a VirtualBox FreedomBox as described on VirtualBox image page (this recipe based on the 2015-10-18 image)

  • Go to Plinth in browser on host (https://fbx-ip). Complete the first boot setup process. During the process, you will create and administrator account. Use this account to login in the next step.

  • Boot the FreedomBox to terminal and login with the administrator account during first boot process.

    • sudo apt-get update
      sudo apt-get install gettext
      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 Weblate or use your local copy 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
  • Go to Plinth in browser on host (https://fbx-ip). Change to your locale in System Configuration (gears symbol upper right)->Configure->Language (https://fbx-ip/plinth/sys/config/)

  • 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.


Intro

Information

Support

Contribute

Reports

Promote

Vision

Hardware

Live Help

Where To Start

Translate

Calls

Talks

Overview

Download

Q&A

To Do

Design

Releases

Press

Features

Manual

Contributors

Code

Blog

FreedomBox for Communities

FreedomBox Developer Manual

HELP & DISCUSSIONS: Discussion Forum - Mailing List - #freedombox irc.debian.org | CONTACT Foundation | JOIN Project

Next call: Sunday, November 28 at 17:00 UTC

This page is copyright its contributors and is licensed under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.


CategoryFreedomBox