summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhenk84 <github@henk.geekmail.org>2023-02-27 00:09:30 +0100
committerGitHub <noreply@github.com>2023-02-26 23:09:30 +0000
commit26f846e11233055cbb027a77c3c03a4cf6ab0663 (patch)
tree43150d1fd6f7f5232c6a8d1c94d22236155cacf3
parentf1fbe9e62975ebb2a6a68c03d6819e775e14e577 (diff)
Document how to update a translation.
Ref: #307 Co-authored-by: Hendrik Jäger <gitcommit@henk.geekmail.org>
-rw-r--r--docs/LANGUAGE12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/LANGUAGE b/docs/LANGUAGE
index b2e72cc9a..061d611f6 100644
--- a/docs/LANGUAGE
+++ b/docs/LANGUAGE
@@ -4,6 +4,7 @@ Anope Multi Language Support
1) Building Anope with gettext support
2) Adding a new language
3) Using languages with modules
+4) Updating a language file
1) Building Anope with gettext support
@@ -51,3 +52,14 @@ Anope Multi Language Support
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.
+
+4) Updating a language file
+
+ Poedit (https://poedit.net/) is a popular po file editor, and we recommend using it or another editor designed to edit
+ po files (especially on Windows).
+
+ Before editing the relevant file in languages/, run `update.sh` in the languages/ folder, i.e. `cd` to it and run
+ ./update.sh
+ This will update the language file to contain all strings that need a translation.
+
+ Then commit only the changed .po files in git.