po: add lang_code and lang_name template variables.
[ikiwiki.git] / doc / plugins / po.mdwn
index f91e44ea317d1b0bd9655f545541d1d55ad0aa66..b701d3662e16e2ecb4f45f379169bf2cab2a2123 100644 (file)
@@ -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'