welcome: please sign in

The following 147 words could not be found in the dictionary of 0 words and are highlighted below:
above   access   additional   additionally   after   also   and   are   as   based   be   both   builtin   but   by   called   can   cat   changed   config   Configuration   configured   content   Contents   create   creating   data   default   define   Defining   definition   definitions   dict   Dict   Dictionaries   dictionary   Dicts   dicts   doesn   dog   else   ending   English   english   etc   Everything   example   file   find   first   for   from   German   gettext   have   Help   Hund   if   ignored   Important   important   in   is   it   It   items   Katze   key   Language   languages   leading   level   like   list   Lists   look   Ls   maps   Maus   members   Moin   mouse   name   named   needs   non   Of   of   on   On   other   Other   page   pages   pairs   pattern   po   protect   Protecting   provide   regex   second   see   See   set   simple   some   something   sources   space   strings   structure   Table   text   that   The   the   them   there   This   this   to   translate   translates   Translation   translations   try   unicode   up   use   used   uses   Using   usual   usually   value   Variables   wants   ways   wiki   Wiki   will   with   word   words   You   your  

Clear message
location: HelpOnDictionaries

Dictionaries

A dictionary is a simple data structure that maps a dictionary name to a set of key/value pairs. It can be used e.g. to provide additional translations.

The dictionary name usually is something like GermanDict (some word ending with Dict). This default pattern can be changed (e.g. for non-english languages etc.), see page_dict_regex on HelpOnConfiguration.

The dict members are key/value pairs (both unicode strings).

Wiki Dicts

Defining them

You can create a dict definition for a dict named GermanDict by creating a page called GermanDict with this content:

#format wiki
This translates some words from English to German:
 dog:: Hund
 cat:: Katze
 mouse: Maus

Important:

Using them

Translation

MoinMoin uses <Language>Dict additionally to the builtin gettext based translations. E.g. if it wants to translate cat to German and doesn't find it in the .po file, it will try to look it up on GermanDict (and find Katze there, see the example above).

Variables

See also HelpOnVariables.

Protecting them

You can use ACLs as usual to protect your dict pages.

Other ways to define dicts / access dict definitions

MoinMoin can also use dict definitions from other sources, but this needs to be configured in your wiki config. See dicts on HelpOnConfiguration.