-
Notifications
You must be signed in to change notification settings - Fork 4
/
README.translators
71 lines (38 loc) · 1.48 KB
/
README.translators
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
This file explains how to translate tails-greeter.
CONTENTS
========
- Before you begin
- Create a new translation
- Update an existing translation
- Man page translation
INSTALL DEPENDENCIES
====================
sudo apt-get install python-distutils-extra
CREATING A NEW TRANSLATION
==========================
1. Generate an uptodate template of translatable strings
This requires the installation of python-distutils-extra.
In sources root, execute:
./setup.py build_i18n
which will (re)generate the template `po/tails-greeter.pot`
2. Create the translations file for your language
In the `po/` directory, execute:
msginit --locale=<yourlocale>
For example to create a french translation file:
msginit --locale=fr_FR
3. Edit the translation file as usually
4. Send the result to Tails developpers to include it in a next release
UPDATE AN EXISTING TRANSLATION
==============================
1. Generate an uptodate template of translatable strings
This requires the installation of python-distutils-extra.
In sources root, execute:
./setup.py build_i18n
which will (re)generate the template `po/tails-greeter.pot`
2. Update the translations file for your language
In the `po/` directory, execute:
msgmerge --update <yourlocale>.po tails-greeter.pot
For example to update the French translation file:
msgmerge --update fr.po tails-greeter.pot
3. Edit the translation file as usual
4. Send the result to Tails developpers to include it in a next release