Quick Installation

The beauty about my Multilingual Support framework is that it is easy to install upon a pre-existing site. It's designed so that you choose which categories have the Multilingual Support.

This framework conforms with ISO 639-1. That means that languages are abbreviated to only two letters, and they are the languages specified here. So for English, we would use the code en.

Database

First, set up autonumbering for the ML category

ml:_template

Now create the ml:_template page, and on it paste the following code:

[[include :multilingual:ml]]

Save the page.

This module displays the database of translated articles. It also automatically redirects you to the original article (in its translated form). If you ever need to access your ml:_template page, just enter your site's name below:

Enter your site's URL:
Example: site.wikidot.com

Attribute Description Allowed Values Default
|original_text= Specifies the text for the link to the original article Any String Display on Original Page

Per-category Installation

For each category you want to set up Multilingual Support on, go to it's live template (category-name:_template) and paste the following code:

[[include :multilingual:template]]

Save the page. You're done!

This module is merely a template. More simply said, it inserts the default customisation of a Multilingual category.

Attribute Description Allowed Values Default
|default= Specifies the default language of the category. It's value must be the same across all other modules on the same page. Any ISO 639-1 language en
|translated_text= Specifies the text showing available translations Any String This page is available in the following languages:
|edit_text= Specifies the “Edit Translation” text Any String Edit Translation
|edit_location= Specifies whether the “Edit Translation” text appears above or below the page content above, below above
|import= This is where you specify what part of the page you want to display in that section. This is mainly for advanced users Any String %%content%%
|show#= Specifies which languages are allowed to be translated into. Any ISO 639-1 language Default Languages: de, es, fe, fr, id, it, ja, nl, pl, pt, tr and zh
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License