summaryrefslogtreecommitdiffstats
path: root/README.translators
blob: 03bf9c11f49aa012d6dd03e27517e1404d7bf323 (plain)
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
72
73
74
75
76
77
78
79
80
81
82
WhisperBack - Send feedback via encrypted e-mail
################################################

Copyright (C) 2009-2012 Tails developers <amnesia@boum.org>

This file explains how to translate WhisperBack. See README for generic
informations

CONTENTS
========

- Before you begin
- Create a new translation
- Update an existing translation
- Man page translation


BEFORE YOU BEGIN
================

Make sure you have the required packages on your system: you'll need
the build-depends of the Debian package that are listed in the line
that starts with "Build-Depends" in the debian/control file.


CREATE A NEW TRANSLATION
========================

1. Generate an uptodate template of translatable strings

In sources root, execute: 

    ./setup.py build

which will (re)generate the template `po/whisperback.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

In sources root, execute:

    ./setup.py build

which will (re)generate the template `po/whisperback.pot`

2. Update the translations file for your language

In the `po/` directory, execute:

    msgmerge --update <yourlocale>.po whisperback.pot

For example to update a french translation file:

    msgmerge --update fr.po whisperback.pot

3. Edit the translation file as usually

4. Send the result to Tails developpers to include it in a next release


MAN PAGE TRANSLATION
====================

The man page source located in `doc/whisperback.t2t` is not currently
translatable. Any help is welcome.