Making a site multi-lingual

Posted by Helmut_pdorf on 06 Jul 2015 06:30, last edited by Helmut_pdorf on 04 Sep 2015 07:53

: multi-lingual

rating: +3

This how-to explains how you can build a wiki with pages in different languages.

Thanks to RobElliott RobElliott who has built the "Multi-lingual" site to explain with a live example which pages are necessary for such a layout.

It is self-explanatory in the English, Spanish and German start page (home) depending which language flag you select.

This was based on a wish in our community-forum: duo-lingual wikidot?

Notice: our "Handbook" has a multi-lingual layout, but with such a lot of languages is it a little bit difficult to explain for newcomers how to do it.


Related articles

Comments

Question and proposition
janbmgo janbmgo 20 Feb 2016 10:21

Thanks for sharing this live example.

I have applied the approach on a larger scale, with Wikidot themes, at http://www.actor-atlas.info/

A question: As we must determine one language of the wiki in Wiki Settings, how can we set a different language for a template?

Then a proposition: In "flags" page of the life example, the links for the flags are coded as follows:

[[image /flags/flag_en.jpg width="50px" link="en:%%name%%"]]

Taking note of Google Search Console recommendations regarding international targeting, it is possible to add hreflang tags to the link, for instance as follows:

[[image /flags/flag_en.jpg width="50px" link="en:%%name%%"]] [[a href="/en:%%name%%" hreflang="en"]] en [[/a]]

A difference with the original example is that the clickable "en" would appear next to the flag, the benefit is that Google can couple the language preference of the user to the proper variant of the wiki page.

But, I would think that the coupling would have more impact if we can also declare that a page is in a certain language (hence my question).


Jan Goossenaerts
@collaboratewiki

Last edited on 20 Feb 2016 10:25 by janbmgo
by janbmgo janbmgo , 20 Feb 2016 10:21
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.

AltStyle によって変換されたページ (->オリジナル) /