Direct Url with multilangual plugin

Creating and modifying plugins.
Post Reply
eightgr
Regular
Posts: 66
Joined: Thu Oct 27, 2005 5:52 pm

Direct Url with multilangual plugin

Post by eightgr »

Hi!

I've a blog in several languages using the multilangual plugin. I was wondering if there's a way to have a direct Url to go to one of the versions, french Or english in my case.

I would like to redirect users from another page directly to a specific language part.

Best

P
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Direct Url with multilangual plugin

Post by garvinhicking »

Hi!

Usually you should be able to pre-select a language via

http://url?serendipity[lang]=en

or

http://url?serendipity[lang_display]=en

or

http://url?serendipity[lang_selected]=en

or

http://url?serendipity[user_language]=en

I can't remember which one of them was what, but I believe the first one sets the language of both content AND interface, while lang_display only changes the content language and not the interface language.

You might have to try them out :-)

Best 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/
eightgr
Regular
Posts: 66
Joined: Thu Oct 27, 2005 5:52 pm

Hi!

Post by eightgr »

I got Multilangual Html Nugget and they never changed whatever [lang_X] I use. But perhaps it's normal ?
Post Reply