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
Direct Url with multilangual plugin
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Direct Url with multilangual plugin
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
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/
# 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/