2 |
|
|
3 |
This file will tell you how to translate the applet into your |
This file will tell you how to translate the applet into your |
4 |
favourite language. No programming skills are required for this, and |
favourite language. No programming skills are required for this, and |
5 |
if you need any help with this, please let me (d92-jwa@nada.kth.se) |
if you need any help with this, please send your question to the |
6 |
know. |
mailing list (bubblemon-list@nongnu.org). |
7 |
|
|
8 |
1. Find out your language code from |
1. Find out your language code from |
9 |
"http://www.unicode.org/unicode/onlinedat/languages.html". In the |
"http://www.unicode.org/unicode/onlinedat/languages.html". In the |
11 |
where ever you see xx, you should replace it with the code for your |
where ever you see xx, you should replace it with the code for your |
12 |
favourite language. |
favourite language. |
13 |
|
|
14 |
2. To translate the GNOME panel menu entry, open the file |
2. Create the template file by doing... |
|
gnome/bubblemon-gnome1.desktop in your favourite editor, and just |
|
|
add your translations to the others (if you look at the file, it |
|
|
should be obvious). Use the language code from step one (above). |
|
|
Mail the result to me (d92-jwa@nada.kth.se). |
|
|
|
|
|
3. Create the template file by doing... |
|
15 |
|
|
16 |
./configure |
./configure |
17 |
make |
make |
18 |
|
|
19 |
... from the bubblemon directory. |
... from the bubblemon directory. |
20 |
|
|
21 |
4. Enter the 'po' directory: |
3. Enter the 'po' directory: |
22 |
|
|
23 |
cd po |
cd po |
24 |
|
|
25 |
5. Initialize your translation by copying bubblemon.pot (the template |
4. Initialize your translation by copying bubblemon.pot (the template |
26 |
file created in step 3) into xx.po (but remember to use *your* |
file created in step 3) into xx.po (but remember to use *your* |
27 |
language code instead of xx): |
language code instead of xx): |
28 |
|
|
29 |
cp bubblemon.pot xx.po |
cp bubblemon.pot xx.po |
30 |
|
|
31 |
6. Edit xx.po using your favourite text editor. Leave the lines |
5. Edit xx.po using your favourite text editor. Leave the lines |
32 |
containing English (marked "msgid") alone; your translations should |
containing English (marked "msgid") alone; your translations should |
33 |
be added under the "msgstr" heading. If you are unsure, look at |
be added under the "msgstr" heading. If you are unsure, look at |
34 |
some other translation (sv.po for example) to see how it's done. |
some other translation (sv.po for example) to see how it's done. |
36 |
|
|
37 |
emacs xx.po |
emacs xx.po |
38 |
|
|
39 |
7. When you have translated everything in that file, mail it to me |
6. When you have translated everything in that file, send it to the |
40 |
(d92-jwa@nada.kth.se) for inclusion in the next version. |
mailing list (bubblemon-list@nongnu.org) for inclusion in the next |
41 |
|
version. |
42 |
|
|
43 |
8. If you want to see your newly created translation in action, use |
7. If you want to see your newly created translation in action, use |
44 |
your favourite text editor to edit configure.in in the bubblemon |
your favourite text editor to edit configure.in in the bubblemon |
45 |
directory, and add your language to the ALL_LINGUAS variable. This |
directory, and add your language to the ALL_LINGUAS variable. This |
46 |
is what the ALL_LINGUAS line should look like if there are |
is what the ALL_LINGUAS line should look like if there are |
48 |
|
|
49 |
ALL_LINGUAS="sv xx" |
ALL_LINGUAS="sv xx" |
50 |
|
|
51 |
9. Run autoconf, build and install the project: |
8. Run autoconf, build and install the project: |
52 |
|
|
53 |
autoconf |
autoconf |
54 |
./configure |
./configure |
59 |
exit |
exit |
60 |
|
|
61 |
The applet should now appear in the language of your choice! If you |
The applet should now appear in the language of your choice! If you |
62 |
have any opinions on this short howto, do send me an e-mail at |
have any opinions on this short howto, let us know at |
63 |
d92-jwa@nada.kth.se and voice your opinion. |
bubblemon-list@nongnu.org. |
64 |
|
|
65 |
//Johan |
//Johan |