1 [[!if test="enabled(po)"
2 then="This wiki has po support **enabled**."
3 else="This wiki has po support **disabled**."]]
5 If the [[!iki plugins/po desc=po]] plugin is enabled, the regular
6 [[ikiwiki/PageSpec]] syntax is expanded with the following additional
7 tests that can be used to improve user navigation in a multi-lingual
10 * "`lang(LL)`" - tests whether a page is written in the language
11 specified as a ISO639-1 (two-letter) language code.
12 * "`currentlang()`" - tests whether a page is written in the same
13 language as the current page.
15 Note that every non-po page is considered to be written in
16 `po_master_language`, as specified in `ikiwiki.setup`.