<?xml version="1.0" encoding="utf-8"?>
<s1 title="LanguageSetup"><p><p></p>
<s2 id="Welcome" title="Welcome">
<table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p> (./) /!\ <!> </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>If you have just installed or upgraded your wiki you are not in the wrong place.<br/>
Just read the informations given below.</p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p> <!> /!\ (./) </p>
</td></tr></table><p></p>
<s3 id="System and Help Page Package installation" title="System and Help Page Package installation">
<p>MoinMoin comes with no system and help pages installed by default (the page you read right now is the only page after a fresh installation). </p>
<p></p>
<s4 id="Becoming superuser" title="Becoming superuser">
<p>For installation of the language packages, it is required that you are superuser: </p>
<ol><li>If you do not already have an account, create one (see hints on the login page). </li>
<li>If the wiki is not already configured to recognize you as a superuser, change wiki config appropriately: <source><![CDATA[    superuser = [u"YourLoginName", ]]]></source><p>See <interwiki wiki="MoinMaster" pagename="HelpOnConfiguration">HelpOnConfiguration</interwiki> for more details. </p>
</li>
<li>Restart the wiki to make it load the changed configuration. </li>
<li>Login in (with the login name you configured as superuser). </li>
</ol>
<p></p>
</s4>
<s4 id="Installing page packages" title="Installing page packages">
<p>You can <jump href="/wiki/LanguageSetup?action=language_setup" class="action">install help and system page packages</jump> for any language you want to support for your wiki users. You should see links for each supported language, and below an <strong>install</strong> link for each page package of that language — click on it for each of the packages you wish to install. When you&apos;re finished, restart the wiki (otherwise it won&apos;t recognize the newly installed pages correctly). </p>
<p>/!\ Make sure you at least install the essential system page package for the <code>language_default</code> you might have configured (the default for this setting is <code>en</code>, i.e English). Note however that if you don&apos;t install the whole page set, the installed pages may contain broken links to the non-installed. </p>
<p>/!\ If you want to use translated categories and templates, after installing their corresponding pages you still need to update your <code>page_category_regex</code> and <code>page_template_regex</code> configs to match the translated page names. See <interwiki wiki="MoinMaster" pagename="HelpOnConfiguration">HelpOnConfiguration</interwiki> and <jump href="http://moinmo.in/ConfigMarket" class="http">http://moinmo.in/ConfigMarket</jump> for more details. </p>
<p></p>
</s4>
</s3>
<s3 id="FrontPage configuration" title="FrontPage configuration">
<p>For the root URL of your wiki, moin will use a special page (called the &quot;front page&quot;). Users can be given a translated front page in their preferred language, or they can be given any other single page you specify. </p>
<p>Note: you <strong>must</strong> set <code>page_front_page</code> to get rid of this page being the front page: </p>
<p></p>
<source><![CDATA[    # Choose this, if most wiki content is in a single language.
    # If English is not your wiki's main language, choose something in YOUR wiki language
    page_front_page = u"MyStartingPage"]]></source><p>OR </p>
<p></p>
<source><![CDATA[    # Choose this, if wiki content is maintained in multiple languages.
    # In the navigation, "FrontPage" will get automatically translated for installed languages.
    page_front_page = u"FrontPage"]]></source><p>If you go the <em>single language</em> way, you can copy some of the content of FrontPage (or one of its translations) to the page you choose as your <code>page_front_page</code>. </p>
<p>If you go the <em>multiple language</em> way, don&apos;t forget to edit all translations of FrontPage. </p>
<p>/!\ If you go the <em>multiple languages</em> way, people reaching your wiki will be directed to the front page corresponding to their browser language setting. If you did not prepare that page (see front page name for different languages in <interwiki wiki="MoinMaster" pagename="HelpOnComments">wiki comment</interwiki> below), they will see the default page for their language and have the impression the wiki is empty or badly maintained. </p>
<p></p>
<table><tr><td><p>Arabic</p>
</td><td><p>Arabic (written in Arabic XXX)</p>
</td><td><p>ar</p>
</td><td><p>none</p>
</td></tr><tr><td><p>Bulgarian</p>
</td><td><p>Български</p>
</td><td><p>bg</p>
</td><td><p><jump href="/wiki/%D0%9D%D0%B0%D1%87%D0%B0%D0%BB%D0%BD%D0%B0%D0%A1%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0" class="nonexistent">НачалнаСтраница</jump></p>
</td></tr><tr><td><p>Catalan</p>
</td><td><p>català</p>
</td><td><p>ca</p>
</td><td><p><jump href="/wiki/P%C3%A0ginaPrincipal" class="nonexistent">PàginaPrincipal</jump></p>
</td></tr><tr><td><p>Czech</p>
</td><td><p>Čeština</p>
</td><td><p>cs</p>
</td><td><p><jump href="/wiki/HlavniStranka" class="nonexistent">HlavniStranka</jump></p>
</td></tr><tr><td><p>Danish</p>
</td><td><p>Dansk</p>
</td><td><p>da</p>
</td><td><p><jump href="/wiki/ForSide" class="nonexistent">ForSide</jump></p>
</td></tr><tr><td><p>German</p>
</td><td><p>Deutsch</p>
</td><td><p>de</p>
</td><td><p><jump href="/wiki/StartSeite" class="nonexistent">StartSeite</jump></p>
</td></tr><tr><td><p>Greek</p>
</td><td><p>Ελληνικά</p>
</td><td><p>el</p>
</td><td><p>none</p>
</td></tr><tr><td><p>English</p>
</td><td><p>English</p>
</td><td><p>en</p>
</td><td><p>none</p>
</td></tr><tr><td><p>Spanish</p>
</td><td><p>Español</p>
</td><td><p>es</p>
</td><td><p><jump href="/wiki/P%C3%A1ginaInicial" class="nonexistent">PáginaInicial</jump></p>
</td></tr><tr><td><p>Persian</p>
</td><td><p>Persian</p>
</td><td><p>fa</p>
</td><td><p><jump href="/wiki/%D8%B5%D9%81%D8%AD%D9%87%20%D8%A7%D9%88%D9%84%DB%8C%D9%87" class="nonexistent">صفحه اولیه</jump></p>
</td></tr><tr><td><p>Finnish</p>
</td><td><p>Suomi</p>
</td><td><p>fi</p>
</td><td><p><jump href="/wiki/EtuSivu" class="nonexistent">EtuSivu</jump></p>
</td></tr><tr><td><p>French</p>
</td><td><p>Français</p>
</td><td><p>fr</p>
</td><td><p><jump href="/wiki/PageD%27Accueil" class="nonexistent">PageD&apos;Accueil</jump></p>
</td></tr><tr><td><p>Galician</p>
</td><td><p>galego</p>
</td><td><p>gl</p>
</td><td><p><jump href="/wiki/P%C3%A1xinaInicial" class="nonexistent">PáxinaInicial</jump></p>
</td></tr><tr><td><p>Hebrew</p>
</td><td><p>עברית</p>
</td><td><p>he</p>
</td><td><p><jump href="/wiki/%D7%93%D7%A3%20%D7%A8%D7%90%D7%A9%D7%99" class="nonexistent">דף ראשי</jump></p>
</td></tr><tr><td><p>Hindi</p>
</td><td><p>Hindi (XXX in Hindi)</p>
</td><td><p>hi</p>
</td><td><p>none</p>
</td></tr><tr><td><p>Croatian</p>
</td><td><p>Hrvatski</p>
</td><td><p>hr</p>
</td><td><p><jump href="/wiki/Po%C4%8Detna" class="nonexistent">Početna</jump></p>
</td></tr><tr><td><p>Hungarian</p>
</td><td><p>Magyar</p>
</td><td><p>hu</p>
</td><td><p><jump href="/wiki/Kezd%C5%91Lap" class="nonexistent">KezdőLap</jump></p>
</td></tr><tr><td><p>Indonesian</p>
</td><td><p>Bahasa Indonesia</p>
</td><td><p>id</p>
</td><td><p><jump href="/wiki/HalamanMuka" class="nonexistent">HalamanMuka</jump></p>
</td></tr><tr><td><p>Italian</p>
</td><td><p>Italiano</p>
</td><td><p>it</p>
</td><td><p><jump href="/wiki/PaginaPrincipale" class="nonexistent">PaginaPrincipale</jump></p>
</td></tr><tr><td><p>Japanese</p>
</td><td><p>Japanese</p>
</td><td><p>ja</p>
</td><td><p><jump href="/wiki/%E3%83%95%E3%83%AD%E3%83%B3%E3%83%88%E3%83%9A%E3%83%BC%E3%82%B8" class="nonexistent">フロントページ</jump></p>
</td></tr><tr><td><p>Korean</p>
</td><td><p>한국어</p>
</td><td><p>ko</p>
</td><td><p><jump href="/wiki/%EB%8C%80%EB%AC%B8" class="nonexistent">대문</jump></p>
</td></tr><tr><td><p>Kurdish</p>
</td><td><p>Kurdish (XXX in kurdish)</p>
</td><td><p>ku</p>
</td><td><p>none</p>
</td></tr><tr><td><p>Lithuanian</p>
</td><td><p>Lietuvių</p>
</td><td><p>lt</p>
</td><td><p><jump href="/wiki/PirmasisPuslapis" class="nonexistent">PirmasisPuslapis</jump></p>
</td></tr><tr><td><p>Latvian</p>
</td><td><p>Latviešu</p>
</td><td><p>lv</p>
</td><td><p><jump href="/wiki/S%C4%81kumLapa" class="nonexistent">SākumLapa</jump></p>
</td></tr><tr><td><p>Macedonian</p>
</td><td><p>Македонски</p>
</td><td><p>mk</p>
</td><td><p><jump href="/wiki/%D0%9F%D0%BE%D1%87%D0%B5%D1%82%D0%BD%D0%B0" class="nonexistent">Почетна</jump></p>
</td></tr><tr><td><p>Mongolian</p>
</td><td><p>Mongolian (XXX in Mongolian)</p>
</td><td><p>mn</p>
</td><td><p><jump href="/wiki/%D0%AD%D1%85%D0%BD%D0%B8%D0%B9%20%D1%85%D1%83%D1%83%D0%B4%D0%B0%D1%81" class="nonexistent">Эхний хуудас</jump></p>
</td></tr><tr><td><p>Norwegian Bokmal</p>
</td><td><p>Norsk Bokmål</p>
</td><td><p>nb</p>
</td><td><p><jump href="/wiki/StartSide" class="nonexistent">StartSide</jump></p>
</td></tr><tr><td><p>Dutch</p>
</td><td><p>Nederlands</p>
</td><td><p>nl</p>
</td><td><p><jump href="/wiki/VoorPagina" class="nonexistent">VoorPagina</jump></p>
</td></tr><tr><td><p>Polish</p>
</td><td><p>Polski</p>
</td><td><p>pl</p>
</td><td><p><jump href="/wiki/StronaG%C5%82%C3%B3wna" class="nonexistent">StronaGłówna</jump></p>
</td></tr><tr><td><p>Brazilian Portuguese</p>
</td><td><p>Português do Brasil</p>
</td><td><p>pt-br</p>
</td><td><p><jump href="/wiki/P%C3%A1ginaPrincipal" class="nonexistent">PáginaPrincipal</jump></p>
</td></tr><tr><td><p>Portuguese</p>
</td><td><p>Português</p>
</td><td><p>pt</p>
</td><td><p><jump href="/wiki/P%C3%A1ginaPrincipal" class="nonexistent">PáginaPrincipal</jump></p>
</td></tr><tr><td><p>Romanian</p>
</td><td><p>Română</p>
</td><td><p>ro</p>
</td><td><p><jump href="/wiki/PaginaPrincipal%C4%83" class="nonexistent">PaginaPrincipală</jump></p>
</td></tr><tr><td><p>Russian</p>
</td><td><p>Русский</p>
</td><td><p>ru</p>
</td><td><p><jump href="/wiki/%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F%D0%A1%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0" class="nonexistent">ГлавнаяСтраница</jump></p>
</td></tr><tr><td><p>Slovak</p>
</td><td><p>slovenčina</p>
</td><td><p>sk</p>
</td><td><p><jump href="/wiki/Hlavn%C3%A1Str%C3%A1nka" class="nonexistent">HlavnáStránka</jump></p>
</td></tr><tr><td><p>Slovenian</p>
</td><td><p>slovenščina</p>
</td><td><p>sl</p>
</td><td><p><jump href="/wiki/PrvaStran" class="nonexistent">PrvaStran</jump></p>
</td></tr><tr><td><p>Serbian</p>
</td><td><p>Srpski</p>
</td><td><p>sr</p>
</td><td><p><jump href="/wiki/%D0%9D%D0%B0%D1%81%D0%BB%D0%BE%D0%B2%D0%BD%D0%B0%D0%A1%D1%82%D1%80%D0%B0%D0%BD%D0%B0" class="nonexistent">НасловнаСтрана</jump></p>
</td></tr><tr><td><p>Swedish</p>
</td><td><p>Svenska</p>
</td><td><p>sv</p>
</td><td><p><jump href="/wiki/StartSida" class="nonexistent">StartSida</jump></p>
</td></tr><tr><td><p>Turkish</p>
</td><td><p>Türkçe</p>
</td><td><p>tr</p>
</td><td><p><jump href="/wiki/AnaSayfa" class="nonexistent">AnaSayfa</jump></p>
</td></tr><tr><td><p>Ukrainian</p>
</td><td><p>Українська</p>
</td><td><p>uk</p>
</td><td><p><jump href="/wiki/%D0%9F%D0%BE%D1%87%D0%B0%D1%82%D0%BE%D0%BA" class="nonexistent">Початок</jump></p>
</td></tr><tr><td><p>Vietnamese</p>
</td><td><p>Tiếng Việt</p>
</td><td><p>vi</p>
</td><td><p><jump href="/wiki/Trang%20%C4%91%E1%BA%A7u" class="nonexistent">Trang đầu</jump></p>
</td></tr><tr><td><p>Simplified Chinese</p>
</td><td><p>简体中文</p>
</td><td><p>zh</p>
</td><td><p><jump href="/wiki/%E9%A6%96%E9%A1%B5" class="nonexistent">首页</jump></p>
</td></tr><tr><td><p>Chinese/Taiwan</p>
</td><td><p>繁體中文</p>
</td><td><p>zh-tw</p>
</td><td><p><jump href="/wiki/%E9%A6%96%E9%A0%81" class="nonexistent">首頁</jump></p>
</td></tr></table><p></p>
</s3>
<s3 id="User interface text translations" title="User interface text translations">
<p>MoinMoin tries to adapt the user interface to the language the user prefers. </p>
<p>If the user puts a specific language preference into his user preferences, that language will be used for the user interface. But the user doesn&apos;t even need to do that if he already has configured his browser with his language preferences. </p>
<p>If there is no specific user preferences language setting, moin tries to adapt to the languages the user configured in his browser. So if the browser tells moin that its preference is Canadian English, then German, then English in general and moin has German and English available (but not a specific configuration for Canadian English), then the user will get a German user interface. </p>
<p>If there is no common language in the user&apos;s browser configuration and in moin or if you have set <code>language_ignore_browser = True</code>, moin will fall back to using what is configured as <code>language_default</code>. This is also the case if the user&apos;s browser does not specify any language. </p>
<p>The usual case when you want to set <code>language_ignore_browser = True</code> is when running a local wiki with no international audience and you maintain the wiki in only one (your local) language. Don&apos;t forget to specify your one-and-only language using language_default when doing this. </p>
<p></p>
</s3>
<s3 id="System and help page translations and the navigation bar" title="System and help page translations and the navigation bar">
<p>The MoinMoin distribution archive contains the system pages (like <code>RecentChanges</code>) in different languages, selecting the correct language in the same way as for the user interface. </p>
<p>For example, if the navi_bar contains a link to <code>RecentChanges</code>, moin will first look for a translation of <code>RecentChanges</code> into the user&apos;s language. So if the user&apos;s language is German (de), the translation is <code>AktuelleÄnderungen</code>. Moin will use <code>AktuelleÄnderungen</code> in the navi_bar display if that page actually exists; otherwise, it will fall back to using <code>RecentChanges</code>. </p>
<p></p>
</s3>
<s3 id="Understanding Language packs" title="Understanding Language packs">
<p></p>
<p><strong>Quickstart (for lazy people)</strong>: Install the package <code>all_pages</code> for the language(s) in which you provide some content. </p>
<p>For each language, there is up 17 packages of underlay pages. The underlay pages are split by priorities (<code>essential</code>, <code>optional</code> and &quot;<code>all</code>&quot;) and by categories: </p>
<ul><li><p><code>*_System_*</code> - Page needed run the wiki like <jump href="/wiki/RecentChanges">RecentChanges</jump>, <jump href="/wiki/FindPage">FindPage</jump> and <jump href="/wiki/FrontPage" class="nonexistent">FrontPage</jump>. </p>
</li>
<li><p><code>*_Help_*</code> - Some help pages (mostly for wiki editors) </p>
</li>
<li><p><code>*_Template_*</code> - Templates ! </p>
</li>
<li><p><code>*_Category_*</code> - MoinMoin built-in categories (like <code>Category</code><code>Category</code>) </p>
</li>
<li><p><code>*_Admin_*</code> - Pages useful for wiki administrators only </p>
</li>
<li><p><code>*_pages</code> - Contains the content of all 5 packages above. </p>
</li>
</ul>
<p>Language packs are named like <code>essential_help_pages.zip</code>, where <code>essential</code> and <code>help</code> are the priority and category. Here&apos;s a matrix with the packages available: </p>
<table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong></td><td><strong class="highlight"><![CDATA[]]></strong><p> Categories</p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p> </p>
</td><td><p><strong>System </strong></p>
</td><td><p><strong>Help</strong></p>
</td><td><p><strong>Template</strong></p>
</td><td><p><strong>Category</strong></p>
</td><td><p><strong>Admin</strong></p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p><strong>All Categories</strong></p>
</td></tr><tr><td><p><strong>Essential</strong></p>
</td><td><p> <code>essential_system_pages</code> </p>
</td><td><p> <code>essential_help_pages</code> </p>
</td><td><p> <code>essential_template_pages</code> </p>
</td><td><p> <code>essential_category_pages</code> </p>
</td><td><p>        </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p> <code>essential_pages</code> </p>
</td></tr><tr><td><p><strong>Optional </strong></p>
</td><td><p> <code>optional_system_pages</code> </p>
</td><td><p> <code>optional_help_pages</code> </p>
</td><td><p> <code>optional_template_pages</code> </p>
</td><td><p>        </p>
</td><td><p>        </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p> <code>optional_pages</code>  </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p><strong>All priorities</strong></p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p> <code>all_system_pages</code> </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p> <code>all_help_pages</code> </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p> <code>all_template_pages</code> </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p> <code>all_category_pages</code>  </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p> <code>admin_pages</code> </p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p> <strong><code>all_pages</code></strong>       </p>
</td></tr></table><p>The language packs are compiled according to pages listed in <jump href="http://hg.moinmo.in/moin/1.9/file/ac5dc19e0a0e/MoinMoin/i18n/strings.py">MoinMoin/i18n/strings.py</jump> (using the command <code>moin maint mkpagepacks</code>) </p>
</s3></s2></s1>