link to and setting language for an article

Creating and modifying plugins.
Post Reply
tonnie
Regular
Posts: 13
Joined: Tue Apr 08, 2008 10:38 pm
Location: netherlands
Contact:

link to and setting language for an article

Post by tonnie »

Hi,

I would like to link to an article, regardles the language and when clicked opening the blog in the specific language setting. So, not just the translated article appears, but also the blog's (GUI) language is changed.

Could someone help me please, if possible at all? I have been searching for over a week now how to do it.

Linking to the article alone is not the problem!
Vision2form webdesign & seo
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: link to and setting language for an article

Post by garvinhicking »

Hi!

If you append the parameter ?user_language=de it should trigger the respective language, so:

<a href="/index.php?/archives/0815-yourarticle.htm&user_language=de">.

You should be able to copy the required link by just copying the displayed link from the multilingual plugin, that should appear within the footer of your entry.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply