blob: cf2cce0be976bd1c75677eb0ce8d8a5f7491fa63 (
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
|
####################################################################
# Translating Gnome-Pie #
####################################################################
It would be really cool if you could create a translation of Gnome-
Pie into your language!
It is quite easy and involves the following steps. All you need is the
locale string for your language. You can get it with the terminal
command "echo $LANG".
CREATING A NEW TRANSLATION
1. Update the gnomepie.pot file
* navigate with a terminal to the directory "resources/locale"
* enter the command "./gen-pot.sh"
2. Create your translation file
* enter the command "./gen-po.sh"
* follow instructions
3. Translate to your language
* open the file "resources/locale/[your locale]/LC_MESSAGES/[your locale].po"
* create translations for every string in this file (write it after each "msgstr")
4. Compile translations
* enter the command "./compile-po.sh"
UPDATING AN EXISTENT TRANSLATION
1. Update the gnomepie.pot file
* navigate with a terminal to the directory "resources/locale"
* enter the command "./gen-pot.sh"
2. Update your translation file
* enter the command "./update-po.sh"
* follow instructions
3. Translate to your language
* open the file "/resources/locale/[your locale]/LC_MESSAGES/[your locale].po"
* create translations for every string in this file which don't have translations already
4. Compile translations
* enter the command "./compile-po.sh"
|