Hello,
I have an asp application which I made "Multilanguage". I made an asp file
for every language with all the strings to be used stored like this:
Langstring1 = "French"
Langstring20 = "VTest"
In the beginning of an asp file I determine which language file to include.
In my database there are only numbers. I can now display the right text in
the right language using respons.write: Response.write(Langstring20)
Now I want to use a dropdown box displaying a text as selected based on a
relation between the number in my database and my language files. When I
have number 20 in a database, the value of the option should be 20 and the
text displayed should be 'VTest' for this is Langstring20. Problem is that
the option value seems to be correct with what I do, but the text displayed
in the box is not correct. How can I solve this?
What I did was the following:
------------------------------------------------
Langstring = "Langstring"
<select name="Testbox">
<option value="<%=RSItems("Testfile")%>"
selected><%=response.write(Langstring&RSItems("Tes tfile"))%>
<option value="20">VTest
<option value="21">TTest
<option value="22">FTest
</select>
----------------------------------------
What did I do wrong?