Setting Language via Link
4.33/5 based on 3 votes. The median rating is 4.
Some of you using the multilingual version may like to create a set of links that will allow your visitors to pick their language. You can easily do this by creating a set of links for the different languages.
Here is a example of how to do that:
<a href="http://scripts.webmastersite.net/wsngallery/manual/index.php?action=setlanguage&languagegroup=English">English</a>
Now all you need do is have one link for each language your site offers and the user will get your gallery in their own preferred language.
You can also use a combobox to let people choose a language:
<form action="http://scripts.webmastersite.net/wsngallery/manual/index.php?action=setlanguage" method="post">
<select name="languagegroup">{LANGOPTIONS}</select> <input type="submit" value="{LANG_GENERAL_GO}"></form>
Here is a example of how to do that:
<a href="http://scripts.webmastersite.net/wsngallery/manual/index.php?action=setlanguage&languagegroup=English">English</a>
Now all you need do is have one link for each language your site offers and the user will get your gallery in their own preferred language.
You can also use a combobox to let people choose a language:
<form action="http://scripts.webmastersite.net/wsngallery/manual/index.php?action=setlanguage" method="post">
<select name="languagegroup">{LANGOPTIONS}</select> <input type="submit" value="{LANG_GENERAL_GO}"></form>
Rating:
4.33/5 based on 3 votes. The median rating is 4.
Submitted: 01/06/04 (Edited 05/20/04)
Description: Adding code to an ancohor tag that sets the language.
Views:
1414 views. Averaging 1 per day.
In the most recent 30 day period, there've been 0 views.

Print
E-Mail