-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathTRANSLATIONS
60 lines (44 loc) · 1.85 KB
/
TRANSLATIONS
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
To Emacs: This is a -*-text-*- file.
This file will tell you how to translate the applet into your
favourite language. No programming skills are required for this, and
if you need any help with this, please let me ([email protected])
know.
1. Find out your language code from
"http://www.unicode.org/unicode/onlinedat/languages.html". In the
following examples, we will be using "xx" for the language code, so
where ever you see xx, you should replace it with the code for your
favourite language.
2. Create the template file by doing...
./configure
make
cd po
make update-po
... from the bubblemon directory.
3. Initialize your translation by copying bubblemon.pot (the template
file created in step 2) into xx.po (but remember to use *your*
language code instead of xx):
cp bubblemon.pot xx.po
4. Edit xx.po using your favourite text editor. Leave the lines
containing English (marked "msgid") alone; your translations should
be added under the "msgstr" heading. If you are unsure, look at
some other translation (sv.po for example) to see how it's done.
Here we go:
emacs xx.po
5. When you have translated everything in that file, mail it to me
([email protected]) for inclusion in the next version.
6. If you want to see your newly created translation in action, use
your favourite text editor to edit configure.in in the bubblemon
directory, and add your language to the ALL_LINGUAS variable. This
is what the ALL_LINGUAS line should look like if there are
translations for Swedish and xx:
ALL_LINGUAS="sv xx"
7. Run autoconf, build and install the project:
./autogen.sh
./configure
make
sudo make install
exit
The applet should now appear in the language of your choice! If you
have any opinions on this short howto, do send me an e-mail at
[email protected] and voice your opinion.
//Johan