annotate po/README @ 13302:d5a2c4e9bb60

[gaim-migrate @ 15668] Rework this file a bit to please Bleeter. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 16 Feb 2006 20:50:10 +0000
parents fd4630204ad5
children 5538762c5ca7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5180
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
1 Translation README
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
2
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
3 To supply a new translation, you first need a copy of gaim.pot.
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
4 This can be built by typing:
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
5
13301
fd4630204ad5 [gaim-migrate @ 15667]
Richard Laager <rlaager@wiktel.com>
parents: 7139
diff changeset
6 intltool-update --pot
5180
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
7
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
8 from the gaim/po/ directory.
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
9
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
10 To update an exsting translation, type:
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
11
13301
fd4630204ad5 [gaim-migrate @ 15667]
Richard Laager <rlaager@wiktel.com>
parents: 7139
diff changeset
12 intltool-update -m LANG
5180
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
13
13302
d5a2c4e9bb60 [gaim-migrate @ 15668]
Richard Laager <rlaager@wiktel.com>
parents: 13301
diff changeset
14 where LANG is the language code to update, such as fr or ja. This will build
d5a2c4e9bb60 [gaim-migrate @ 15668]
Richard Laager <rlaager@wiktel.com>
parents: 13301
diff changeset
15 a new gaim.pot and update the translation with the changes. You may then
5180
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
16 begin editing the updated file.
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
17
13302
d5a2c4e9bb60 [gaim-migrate @ 15668]
Richard Laager <rlaager@wiktel.com>
parents: 13301
diff changeset
18 Translated .po files may be submitted in whatever native encoding is
d5a2c4e9bb60 [gaim-migrate @ 15668]
Richard Laager <rlaager@wiktel.com>
parents: 13301
diff changeset
19 most convenient (and hopefully canonical). Please ensure that the
d5a2c4e9bb60 [gaim-migrate @ 15668]
Richard Laager <rlaager@wiktel.com>
parents: 13301
diff changeset
20 Content-type: line reflects the proper character set.
5180
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
21
13302
d5a2c4e9bb60 [gaim-migrate @ 15668]
Richard Laager <rlaager@wiktel.com>
parents: 13301
diff changeset
22 New or updated translations should be sent to the translation tracker:
d5a2c4e9bb60 [gaim-migrate @ 15668]
Richard Laager <rlaager@wiktel.com>
parents: 13301
diff changeset
23 https://sourceforge.net/tracker/?group_id=235&atid=713922
d5a2c4e9bb60 [gaim-migrate @ 15668]
Richard Laager <rlaager@wiktel.com>
parents: 13301
diff changeset
24
d5a2c4e9bb60 [gaim-migrate @ 15668]
Richard Laager <rlaager@wiktel.com>
parents: 13301
diff changeset
25 Please check your translations carefully. Make sure you have the same
5180
ea261ce36f0b [gaim-migrate @ 5544]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
26 number of newlines and %s or other formatting codes in the translation as
13302
d5a2c4e9bb60 [gaim-migrate @ 15668]
Richard Laager <rlaager@wiktel.com>
parents: 13301
diff changeset
27 you have in the original. The po/check_po.pl script can help with this.
6419
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
28
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
29 Before submitting updated or new translations, please run the following
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
30 command to ensure the file does not contain errors:
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
31 > msgfmt -c --statistics xx.po
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
32
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
33 The comments at the top of each .po file should appear as follows:
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
34 # Gaim Xxxxx translation
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
35 # Copyright (C) 2002, Another Name <email@something.com>
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
36 # Copyright (C) 2003, Your Name <email@whatever.com>
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
37 #
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
38 # This file is distributed under the same license as the Gaim package.
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
39 #
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
40
89208bb9357a [gaim-migrate @ 6926]
Mark Doliner <mark@kingant.net>
parents: 5537
diff changeset
41 Thank you for flying Valu-Jet.