<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>po</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../../style.css" type="text/css" /> <link rel="stylesheet" href="../../local.css" type="text/css" /> <meta name="robots" content="noindex, follow" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../../index.html">ikiwiki</a>/ <a href="../../ikiwiki.html">ikiwiki</a>/ <a href="../pagespec.html">pagespec</a>/ </span> <span class="title"> po </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p>This wiki has po support <strong>disabled</strong>.</p> <p>If the <a href="http://ikiwiki.info/plugins/po/">po</a> plugin is enabled, the regular <a href="../pagespec.html">PageSpec</a> syntax is expanded with the following additional tests that can be used to improve user navigation in a multi-lingual wiki:</p> <ul> <li>"<code>lang(LL)</code>" - tests whether a page is written in the language specified as a ISO639-1 (two-letter) language code.</li> <li>"<code>currentlang()</code>" - tests whether a page is written in the same language as the current page.</li> <li>"<code>needstranslation()</code>" - tests whether a page needs translation work. Only slave pages match this PageSpec. A minimum target translation percentage can optionally be passed as an integer parameter: "<code>needstranslation(50)</code>" matches only pages less than 50% translated.</li> </ul> <p>Note that every non-po page is considered to be written in <code>po_master_language</code>, as specified in <code>ikiwiki.setup</code>.</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div id="backlinks"> Links: <a href="../../plugins/po.html">plugins/po</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>