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