User:PerfektesChaos/js/WikiSyntaxTextMod/usage/lang

Language support for WikiSyntaxTextMod.

System requirements
WikiSyntaxTextMod has been written to support any Wiki installation in any language in any context.
 * Online (browser):
 * MediaWiki 1.18 required.
 * This is maintained by any WMF project.
 * A local project may use MediaWiki 1.17, if providing the following definition:
 * Any browser of the recent years is sufficient, e.g. supporting JavaScript 1.5.
 * IE6 might be a problem, but no user of WSTM uses IE6.
 * Offline (local environment, bot, neither browser nor web):
 * No MediaWiki is required.
 * Project context is defined by API.
 * A main script may import and start the WikiSyntaxTextMod modules.

Localization
Keywords are formatted and translated as common on current project. Basically, pages and files are linked and included by the name declared in.

Import from other languages and projects
If page texts from other languages are used, their keywords might be regarded as similar to locals. English keywords and local project language are always supported.

Permanent import language
If the application object has been declared before, the following configuration setting appends languages and projects to the supported basic context: The value is a string with one or more space separated identifiers.

If too many languages are declared, misunderstandings might be caused. Since a link to a movie or book title might start with a foreign language keyword and a colon, that one will be translated and localized. Image legends with foreign keyword will be interpreted as active parameters.

Single import from other project
If the page starts with the following line, the keywords in this particular wikitext will be translated once into localized format. (Import once from any french project.) Afterwards the line will be removed. WikiSyntaxTextMod may be triggered manually by button or portlet.
 * 1) WikiSyntaxTextMod IMPORT fr

Export into other language and project
In user namespace, a single page may be declared to be interpreted in a different context: Other language and project settings take effect. All known keywords are translated into target language. Project identifiers are defined by  of target. (Prepare for transfer into Italian Wikipedia.) After transferring this page into another project, WikiSyntaxTextMod will do final cleanup there.
 * 1) WikiSyntaxTextMod EXPORT itwiki

Supported elements, languages, projects
First of all namespace identifiers with technical consequences are processed. Image transclusion parameters are to be recognized and translated, but currently only a few languages are supported. Additionally any syntactical keyword in page might need translation if localized. (List of Wikipedias)
 * Languages (more than 60)
 * Known words in languages and projects

Messages
Messages (like syntax error notification) can be translated into any language. Currently they are available in German translation only, and will fall back into English if any other user language has been defined.

&#91; German page &#93;