diff options
Diffstat (limited to 'translation-help')
-rw-r--r-- | translation-help | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/translation-help b/translation-help index c26c6887..7c8e20dc 100644 --- a/translation-help +++ b/translation-help @@ -37,7 +37,7 @@ If you are working in the src/pacman tree, replace libalpm.pot with pacman.pot: Making a new language is not too hard, but be sure to follow all the steps. You will have to do the following steps in both the lib/libalpm/po/ and -src/pacman/po/ directories, substituting where approriate. First, edit the +src/pacman/po/ directories, substituting where appropriate. First, edit the LINGUAS file and add your new language code at the bottom. Next, run the following command, substituting 'libalpm.pot' or 'pacman.pot' depending on which directory you are currently working in: @@ -48,6 +48,15 @@ create the new language file, you may need to slightly modify the headers; try to make them look similar to the other .po file headers. In addition, for all new translations we would strongly recommend using UTF-8 encoding. +Some other notes: +msgid and msgstr 'variables' can be on as many lines as necessary. Line breaks are ignored- if you need a literal line break, use an '\n' in your string. The following two translations are equivalent: + +msgstr "This is a test translation" + +msgstr "" +"This is a test translation" + + Translating Manpages -------------------- |