1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 07:56:37 +02:00

updated docs/LANGUAGE to point to the right directory where users should put module language files

This commit is contained in:
DukePyrolator
2012-10-07 08:00:31 +02:00
parent 31914b200b
commit 4b68f0447c
+2 -2
View File
@@ -35,12 +35,12 @@ Anope Mutli Language Support
want translated (messages to the user, etc).
If you want to translate a module someone has made, first generate a .pot file if there isn't one already using
`xgettext -s -d modulename -o modulename.pot --from-code=utf-8 modulename.cpp`.
`xgettext -s -d modulename -o modulename.pot --from-code=utf-8 --keyword --keyword=_ modulename.cpp`.
The .pot file is a template of all of the language strings extracted from the source file.
Next, run msginit on the .pot file with
`msginit -l language -o modulename.language.po -i modulename.pot`.
Translate the new .po file and rerun ./Config; make && make install.
All .po and .pot files should be placed in modules/language/third. Additionally an update script is provided there
All .po and .pot files should be placed in modules/third/language. Additionally an update script is provided there
that will create .pot files and merge any changes to it with existing .po files.