summaryrefslogtreecommitdiff
path: root/docs/LANGUAGE
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2012-10-07 08:00:31 +0200
committerDukePyrolator <DukePyrolator@anope.org>2012-10-07 08:00:31 +0200
commit4b68f0447c1f3c52eba6f6d09ff2b18ede2e57c7 (patch)
tree18dfff7a18e206466df2702b8a021a8502db6e8f /docs/LANGUAGE
parent31914b200b96e2630e137ab5f7a4344ed0221876 (diff)
updated docs/LANGUAGE to point to the right directory where users should put module language files
Diffstat (limited to 'docs/LANGUAGE')
-rw-r--r--docs/LANGUAGE4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/LANGUAGE b/docs/LANGUAGE
index 37c3ccb25..c67787b42 100644
--- a/docs/LANGUAGE
+++ b/docs/LANGUAGE
@@ -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.