annotate DOCS/tech/translations.txt @ 14679:fa20f0e5435c

man page review page XIV
author diego
date Thu, 10 Feb 2005 00:54:22 +0000
parents 5bad7a1d6b1f
children cc8e5b36f1ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11809
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
1 ________________________________________
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
2 HOW TO DO A GOOD TRANSLATION FOR MPLAYER
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
4
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
5 We always welcome new translations, but please be aware that
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
6 translations are not just one time jobs. They have to be maintained
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
7 in order to be useful. Otherwise they quickly get outdated and become
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
8 obsolete, useless cruft. That said, we would be happy if you could
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
9 maintain a new documentation translation.
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
10
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
11 Documentation related discussions happen on the MPlayer-DOCS mailing list.
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
12 If you want to maintain a translation you should subscribe there, as all
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
13 documentation CVS changelogs are also sent there, which you need to keep
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
14 the translation up to date. You can subscribe here:
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
15
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
16 http://mplayerhq.hu/mailman/listinfo/mplayer-docs
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
17
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
18 Send updates and patches to this mailing list or directly to the documentation
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
19 or console message maintainers, see DOCS/tech/MAINTAINERS for details.
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
20
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
21 Translations of MPlayer documentation consist of 3 parts in descending
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
22 order of importance:
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
23
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
24 1) console messages (help/help_mp-XX.h)
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
25 2) man page
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
26 3) XML documentation
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
27
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
28 Please note that only doing 1) or 1) + 2) is perfectly fine.
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
29
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
30 You can find the latest versions of the help_mp-XX.h files in CVS or
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
31 here:
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
32
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
33 http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/help/
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
34
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
35 help_mp-en.h is the master file that you should use as a base for translations.
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
36 If you are adopting an already existing translation, please check it from top
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
37 to bottom once. Later it should suffice to just translate missing messages. If
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
38 you want to check for untranslated messages the help/help-diff.sh script comes
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
39 in handy:
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
40
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
41 help_diff.sh help_mp-XX.h < help_mp-en.h
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
42
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
43 will print untranslated messages to the screen, just substitute XX with your
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
44 language code. Additionally, please make sure that your translated messages fit
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
45 on an 80 character wide display to avoid overflowing output.
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
46
12091
c67c28e4992e How to handle incomplete translations of message files.
diego
parents: 11809
diff changeset
47 If you do not translate all messages at once, please do not leave untranslated
c67c28e4992e How to handle incomplete translations of message files.
diego
parents: 11809
diff changeset
48 messages in your translated file, just leave them out instead. The MPlayer
c67c28e4992e How to handle incomplete translations of message files.
diego
parents: 11809
diff changeset
49 build system automatically checks for missing messages and uses the English
c67c28e4992e How to handle incomplete translations of message files.
diego
parents: 11809
diff changeset
50 ones instead. This has the added advantage of providing the latest versions of
c67c28e4992e How to handle incomplete translations of message files.
diego
parents: 11809
diff changeset
51 the English messages, since English messages in translations may be outdated.
c67c28e4992e How to handle incomplete translations of message files.
diego
parents: 11809
diff changeset
52 Furthermore, running help_diff.sh on your translated file will immediately show
c67c28e4992e How to handle incomplete translations of message files.
diego
parents: 11809
diff changeset
53 missing messages, which eases further translation.
c67c28e4992e How to handle incomplete translations of message files.
diego
parents: 11809
diff changeset
54
11809
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
55 Translations are for documentation what porting is for code. Many more eyes
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
56 see it and get to find mistakes. If you stumble over mistakes, inaccuracies,
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
57 clumsy wording, spelling/grammar errors or if you notice that something is
26d4ace59761 MPlayer translation HOWTO
diego
parents:
diff changeset
58 incomplete, please let us know, we'll fix it. Patches are more than welcome,
13065
052d0e73a3a8 Fix English before the translations.
diego
parents: 12091
diff changeset
59 of course. Do not, however, change the translation first, please get your
052d0e73a3a8 Fix English before the translations.
diego
parents: 12091
diff changeset
60 update into the English version first.
14558
5bad7a1d6b1f "Synced with 1.XXX" commit message rule.
diego
parents: 13065
diff changeset
61
5bad7a1d6b1f "Synced with 1.XXX" commit message rule.
diego
parents: 13065
diff changeset
62 If you have CVS access and commit a translation update file, use something like
5bad7a1d6b1f "Synced with 1.XXX" commit message rule.
diego
parents: 13065
diff changeset
63 "synced with 1.XXX" as first line of the commit message so that it is possible
5bad7a1d6b1f "Synced with 1.XXX" commit message rule.
diego
parents: 13065
diff changeset
64 to tell with a glance at the cvs log or viewcvs if the translation is outdated
5bad7a1d6b1f "Synced with 1.XXX" commit message rule.
diego
parents: 13065
diff changeset
65 and which revision of the English master file it is equivalent to.