diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-10-25 08:00:14 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-10-25 08:00:14 +0200 |
commit | a6a90aebffe494676a77e36eda0a7c9340e2eee9 (patch) | |
tree | 8e9ffdadbbf8c8ee5c64cbde0aed64262b9a0d8a /doc/en/weechat_dev.en.adoc | |
parent | 99ae73066cb13c4332564530cab5f2bc12c3e02b (diff) | |
download | weechat-a6a90aebffe494676a77e36eda0a7c9340e2eee9.zip |
doc: add commands to update .po files (developer's guide)
Diffstat (limited to 'doc/en/weechat_dev.en.adoc')
-rw-r--r-- | doc/en/weechat_dev.en.adoc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/en/weechat_dev.en.adoc b/doc/en/weechat_dev.en.adoc index da3366d0e..2f8eaddb5 100644 --- a/doc/en/weechat_dev.en.adoc +++ b/doc/en/weechat_dev.en.adoc @@ -1093,6 +1093,15 @@ $ msginit -i weechat.pot -l nl_NL -o nl.po Base language for WeeChat is English, so you must of course perfectly understand English in order to translate to your language. +After changes in sources, you can regenerate all translations files: run this +command in the CMake "build" directory: + +---- +$ make translations && make update-po +---- + +Then you can edit .po files (if you can translate in a language). + When done, you *have* to check your file with script _msgcheck.py_ (https://github.com/flashcode/msgcheck): @@ -1100,6 +1109,8 @@ When done, you *have* to check your file with script _msgcheck.py_ $ msgcheck.py xx.po ---- +And then you can recompile WeeChat to use the new translations. + [[build_autogen_files]] ===== Build auto-generated files |