1 [[!if test="enabled(po)"
2 then="This wiki has po support **enabled**."
3 else="This wiki has po support **disabled**."]]
5 If the [[po|plugins/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: every non-po page is considered to be written in
16 `po_master_language`, as specified in `ikiwiki.setup`.