Changes

Help:Editing

341 bytes added, 20:08, 21 April 2011
Adding language versions
== Adding language versions ==
This site supports English, To add language switches for French and Malagasy language versions of content pages. For a French and Malagasy language links to appear in the left column of any content page is simple. For exampe, the following code was added in the editing form to the page at for example [[Lemur|http://madacamp.com/Lemur]], the following code was added in the editing form (e.g. at the end of the page)
<nowiki>[[fr:Lémurien]]</nowiki>
<nowiki>[[mg:Maki]]</nowiki>
The Français and Malagasy link will then appear therefore appears on the English version and , which lead to [http://fr.madacamp.com/Lémurien http://fr.madacamp.com/Lémurien] and [http://mg.madacamp.com/Maki http://mg.madacamp.com/Maki] respectively (maki is Malagasy for lemur).
[[File:Language switch example.gif]]
On the French page, reflect the adding links back to the English and Malagasy pagesversions is done by:
<nowiki>[[en:Lemur]]</nowiki>
<nowiki>[[mg:Maki]]</nowiki>
And on the Malagasy page, reflect reflecting the links to the English and French pagesby:
<nowiki>[[en:Lemur]]</nowiki>
<nowiki>[[fr:Maki]]</nowiki>
 
If the page title is two or more words, separatate the words by underscores or spaces, for example:
 
<nowiki>[[fr:Grande_Île]]</nowiki>
<nowiki>[[en:Big_island]]</nowiki>
<nowiki>[[mg:Nosy_be]]</nowiki>
''or:'
<nowiki>[[fr:Grande Île]]</nowiki>
<nowiki>[[en:Big island]]</nowiki>
<nowiki>[[mg:Nosy be]]</nowiki>
 
The code can be added anywhere in the editing form, for example at the end.
== Article comments ==