]> git.ipfire.org Git - thirdparty/util-linux.git/blob - po-man/README.md
libsmartcols: (filter) use variable argument lists for yyerror()
[thirdparty/util-linux.git] / po-man / README.md
1 # Working with man page translations
2
3 ## Add a new .po file
4
5 To enable a new .po file, add its basename (in fact, the language code), to
6 the first line of po4a.cfg:
7
8 [po4a_langs] de es fr pl uk
9
10 It is not crucial to sort the entries alphabetically, but do it anyway for
11 better readability.
12
13 ## Update the template and create translated files
14
15 This is done in one step using the following simple command:
16
17 po4a po4a.cfg
18
19 If there's something wrong with a .po file, the command will fail. In any case,
20 have a look at the first line of po4a.cfg if all of the mentioned files are
21 present.
22
23 To the man page authors: Please don't forget to add your new man page to po4a.cfg!