Skip to content
Newer
Older
100644 73 lines (49 sloc) 2.64 KB
5d330ac @eht16 Moved list of available translations to new file po/LINGUAS.
eht16 authored
1 Quick Guide for new translations
2 --------------------------------
3
1304a4d @dmaphy get README.I18N in sync with content of http://www.geany.org/Contribu…
dmaphy authored
4 If you would like to translate Geany into another language, have a look at the
5 language statistics page at [1] first to see if your desired language already
6 exists. If it already exists, please read the "Notes for updating translations"
7 section. Otherwise, get the SVN version of Geany, change to the po directory and
8 start the new translation with:
f101e95 @eht16 New website address: www.geany.org.
eht16 authored
9
10 $ msginit -l ll_CC -o ll.po -i geany.pot
11
1304a4d @dmaphy get README.I18N in sync with content of http://www.geany.org/Contribu…
dmaphy authored
12 Fill in ll with the language code and CC with the country code. For example, to
13 translate Geany into Italian you would type:
f101e95 @eht16 New website address: www.geany.org.
eht16 authored
14
15 $ msginit -l it_IT -o it.po -i geany.pot
16
1304a4d @dmaphy get README.I18N in sync with content of http://www.geany.org/Contribu…
dmaphy authored
17 This will create a file it.po. This file can be opened with a text editor
18 (e.g. Geany ;-)) or a graphical program like PoEdit [2]. There are also several
19 other GUI programs for working on translations.
f101e95 @eht16 New website address: www.geany.org.
eht16 authored
20
1304a4d @dmaphy get README.I18N in sync with content of http://www.geany.org/Contribu…
dmaphy authored
21 You don't need to modify the file po/LINGUAS, it is regenerated automatically on
22 the next build.
cbce6c7 @eht16 Add note about updating po/LINGUAS.
eht16 authored
23
f101e95 @eht16 New website address: www.geany.org.
eht16 authored
24 When you have finished editing the file, check the file with:
25
26 $ msgfmt -c --check-accelerators=_ it.po
27
1304a4d @dmaphy get README.I18N in sync with content of http://www.geany.org/Contribu…
dmaphy authored
28 Please take care of menu accelerators(strings containing a "_"). The "_"
29 character should also be in your translation. Additionally, it would be nice if
30 these accelerators are not twice for two strings inside a dialog or sub menu.
5d330ac @eht16 Moved list of available translations to new file po/LINGUAS.
eht16 authored
31
1304a4d @dmaphy get README.I18N in sync with content of http://www.geany.org/Contribu…
dmaphy authored
32 You can also use intl_stats.sh, e.g. by running the following command in the top
33 source directory of Geany:
f101e95 @eht16 New website address: www.geany.org.
eht16 authored
34
35 $ po/intl_stats.sh -a it
36
1304a4d @dmaphy get README.I18N in sync with content of http://www.geany.org/Contribu…
dmaphy authored
37 This will print some information about the Italian translation and checks for
38 menu accelerators.
f101e95 @eht16 New website address: www.geany.org.
eht16 authored
39
1304a4d @dmaphy get README.I18N in sync with content of http://www.geany.org/Contribu…
dmaphy authored
40 When you have finished your work - which doesn't mean you finished the
41 translation, you will not have to work alone - send the file to the translation
42 mailing list [3] or directly to Frank Lanitz [4] and he will add the translation
43 to Geany then.
5d330ac @eht16 Moved list of available translations to new file po/LINGUAS.
eht16 authored
44
1304a4d @dmaphy get README.I18N in sync with content of http://www.geany.org/Contribu…
dmaphy authored
45 It is a good idea to let any translator and Frank know before you start or while
46 translating, because they can give you hints on translating and Frank can ensure
47 that a translation is not already in progress.
5d330ac @eht16 Moved list of available translations to new file po/LINGUAS.
eht16 authored
48
49
50 Notes for updating translations
51 -------------------------------
52
1304a4d @dmaphy get README.I18N in sync with content of http://www.geany.org/Contribu…
dmaphy authored
53 If you want to update an existing translation, please contact the translation
54 mailing list [3] and/or Frank Lanitz [4] directly. He is supervising all
55 translation issues and will contact the maintainer of the translation you want
56 to update to avoid any conflicts.
5d330ac @eht16 Moved list of available translations to new file po/LINGUAS.
eht16 authored
57
e5d4882 @frlan Adding a hint to intl_stats.sh and small changes in lenght of lines
frlan authored
58 Some translation statistics can be found at:
f101e95 @eht16 New website address: www.geany.org.
eht16 authored
59 http://i18n.geany.org/
5d330ac @eht16 Moved list of available translations to new file po/LINGUAS.
eht16 authored
60
61
62 I18n mailing list
63 -----------------
64
1304a4d @dmaphy get README.I18N in sync with content of http://www.geany.org/Contribu…
dmaphy authored
65 There is also a mailing list dedicated to translation issues. Please visit
66 http://www.geany.org/Support/MailingList#geany-i18 for more information.
57a5628 @eht16 Oops.
eht16 authored
67
5d330ac @eht16 Moved list of available translations to new file po/LINGUAS.
eht16 authored
68
1304a4d @dmaphy get README.I18N in sync with content of http://www.geany.org/Contribu…
dmaphy authored
69 [1] http://i18n.geany.org/
70 [2] http://www.poedit.net/
71 [3] http://www.geany.org/Support/MailingList#geany-i18
72 [4] Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Something went wrong with that request. Please try again.