Webmastersite.net
Register Log In

building Multingual country list ?
How to create a multilingual countrylist

Comments on building Multingual country list ?

ki
Beginner

Usergroup: Customer
Joined: Sep 22, 2006
Location: France

Total Topics: 3
Total Comments: 5
ki
Posted Sep 28, 2006 - 8:37 AM:

Hi,

I'm trying to solve following problems. Many thanks in advance if somebody can help.

2 questions:

1) I'm building a multilingual linkdatabase (French, English, German, Italian). So I need to add a dropdown countrylist for each langage version in the member registration form and in the link submission form.

When a member switch to, for instance, the french version, he should see only the french dropdown countrylist; when he switch to the english version, he should see only the english dropdown selector and so on...

After registration (new member or link), the selected country should be work also as search criteria. Important: Even if the original link or member has been registered, i.e using the english dropdown countrylist, he should be included in the results lauchend using, i.e, the french search criteria (and dropdown countrylist).

How should I do to create these multingual dropdown list in WSNLinks ? (please be precise because I'm not expert)

2) Same question to insert a categorylist in the member registration form. I want to use the same category list used for the link and dispaly this list in multiple langage.

How can I do that ?

Many thanks in advance.

Francois
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 30, 2006 - 12:56 PM:

The intro manual pdf discusses how to show different text for different languages in the "mulitlingual matters" section. http://scripts.webmastersite.net/wsnlinks/manual.pdf

<select name="country">
<IF {VISITORLANGUAGE} is French>
<option value="country1">translated french name</option>
<ELSE IF {VISITORLANGUAGE} is German>
<option value="country1">translated german name</option>
</IF>
etc.

Be sure you use the same value= value for all languages, only changing the displayed value.

2) For a category list I think you're going to have to build it by hand (and then use the above method) since there's no option to have multiple category selectors generated.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.