aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/po.mdwn
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2011-07-18 16:34:54 +0200
committerintrigeri <intrigeri@boum.org>2011-07-18 16:39:18 +0200
commitf5c8fca8875e2ad76134c15bc7717ccd21cb2e18 (patch)
tree8cbb48bbc3be055236130a107874027f365ffccd /doc/plugins/po.mdwn
parent4ce2490e01920eeb93a89b6ef5e727ab07d3678f (diff)
downloadikiwiki-f5c8fca8875e2ad76134c15bc7717ccd21cb2e18.tar
ikiwiki-f5c8fca8875e2ad76134c15bc7717ccd21cb2e18.tar.gz
po: add lang_code and lang_name template variables.
Diffstat (limited to 'doc/plugins/po.mdwn')
-rw-r--r--doc/plugins/po.mdwn3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn
index f91e44ea3..b701d3662 100644
--- a/doc/plugins/po.mdwn
+++ b/doc/plugins/po.mdwn
@@ -150,6 +150,9 @@ the wiki homepage.
The `ISTRANSLATION` and `ISTRANSLATABLE` variables can be used to
display things only on translatable or translation pages.
+The `LANG_CODE` and `LANG_NAME` variables can respectively be used to
+display the current page's language code and pretty name.
+
### Display page's versions in other languages
The `OTHERLANGUAGES` loop provides ways to display other languages'