aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/i18n-module.md
diff options
context:
space:
mode:
authorMatthias Klumpp <matthias@tenstral.net>2021-12-18 04:26:46 +0100
committerMatthias Klumpp <matthias@tenstral.net>2022-01-21 22:26:17 +0100
commit02fb0c3f8bb60d88998c8a8c7d090ecc864ed04c (patch)
treed94965290f00c5d1a4173c274ca9575328a43624 /docs/markdown/i18n-module.md
parente60d358e0482edc56b6441aaa3021d83dd14b527 (diff)
downloadmeson-02fb0c3f8bb60d88998c8a8c7d090ecc864ed04c.zip
meson-02fb0c3f8bb60d88998c8a8c7d090ecc864ed04c.tar.gz
meson-02fb0c3f8bb60d88998c8a8c7d090ecc864ed04c.tar.bz2
i18n: Add support for joining XML localization via itstool
Diffstat (limited to 'docs/markdown/i18n-module.md')
-rw-r--r--docs/markdown/i18n-module.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/markdown/i18n-module.md b/docs/markdown/i18n-module.md
index c0fba48..ba3eeb9 100644
--- a/docs/markdown/i18n-module.md
+++ b/docs/markdown/i18n-module.md
@@ -56,3 +56,15 @@ for normal keywords. In addition it accepts these keywords:
* `args`: (*Added 0.51.0*) list of extra arguments to pass to `msgfmt`
*Added 0.37.0*
+
+### i18n.itstool_join()
+
+This joins translations into a XML file using `itstool`. See
+[[@custom_tgt]]
+for normal keywords. In addition it accepts these keywords:
+
+* `its_files`: filenames of ITS files that should be used explicitly
+ (XML translation rules are autodetected otherwise).
+* `mo_targets` *required*: mo file generation targets as returned by `i18n.gettext()`.
+
+*Added 0.61.0*