summaryrefslogtreecommitdiff
path: root/docs/LANGUAGE
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-06-03 21:42:06 +0100
committerSadie Powell <sadie@witchery.services>2023-06-03 21:51:07 +0100
commit9d0a6ddc67b1e7bd0c32603b6fa90b702c13447d (patch)
tree1e4d019535c89f67e7cf54a76afabe188947c668 /docs/LANGUAGE
parent29db25dac7aff36b4f7239a9fabd57230534cf35 (diff)
parentfbf3b344740f6bd4f9337e485e35e9e8103428bc (diff)
Merge branch '2.0' into 2.1.
Diffstat (limited to 'docs/LANGUAGE')
-rw-r--r--docs/LANGUAGE12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/LANGUAGE b/docs/LANGUAGE
index 3aab36b45..6788b41fe 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.