welcome: please sign in

The following 174 words could not be found in the dictionary of 0 words and are highlighted below:
and   are   as   attribute   attributes   Back   bar   be   before   Built   built   But   can   change   changed   Chinese   comment   consider   contains   content   Contents   corresponding   create   critical   customize   data   default   defines   definition   details   dict   Dict   dictionaries   dictionnary   different   direction   directions   directory   display   do   does   doing   each   effect   en   English   english   entries   etc   except   exists   find   For   for   format   French   Front   German   had   has   have   header   Hebrew   How   i18n   if   If   ignored   in   In   interface   is   iso   it   its   lang   language   Language   Languages   Latest   left   like   lines   list   macro   Macros   Mein   Moin   moin   My   Nachrichten   name   names   navi   Neueste   new   News   no   normally   not   Note   Of   of   old   on   own   page   Page   pages   paragraphs   past   possibility   Project   Projekt   put   py   repair   right   run   same   scripts   see   See   set   sets   should   Simplified   Simply   so   some   space   specified   specify   stuff   support   supports   system   Table   tag   terms   text   that   The   the   them   then   there   this   This   those   to   To   translated   translating   translation   translations   up   Use   use   user   uses   usually   vs   want   way   what   which   wiki   Wiki   wikiconfig   will   with   you   your  

Clear message
location: HelpOnLanguages

Languages

How to specify the page language

language_default (in wikiconfig) sets the default language of a wiki's content.

The HTML lang attribute of a page's BODY tag is set to this language, except if you specify a different page content language in the page header like this:

#language he

The language name is the iso-639-1 name of the language. Languages that moin does not support are ignored.

This is critical if the wiki contains content in different directions, like Hebrew pages, which should display in right to left direction, and English pages, which should display in left to right direction.

In the past, system pages had a language comment: ##language:en. This comment has no effect, and should be changed to the new #language en format. To repair old pages in your wiki, run scripts.repair_language.py in your wiki data directory. Back up your wiki data directory before doing this!

Language Macros

For each language MoinMoin supports in its user interface, a corresponding <<lang>> macro exists, e.g. <<en>>.

Use this macro to:

Built-in vs. user-specified translations

MoinMoin normally uses built-in translation (see MoinMoin/i18n/*) for translating user interface text and system page names in navi_bar.

But there is the possibility to customize navi_bar with your own stuff. Moin has no built-in translation for that usually, so what to do if you want to have them translated the same way as FrontPage usually is?

Simply create some pages like GermanDict, FrenchDict, Simplified_ChineseDict etc. (use the english name of the language) and put a definition list on them which defines the translations for the English terms, e.g. on page GermanDict:

 MyProject:: MeinProjekt
 LatestNews:: NeuesteNachrichten

(!) Note the space before the lines. If you do not put that space, Moin will not consider the entries as dictionnary entries. See WikiDict for details.

Moin then will use those dict pages if it can't find the text in its built-in translation dictionaries.