Click here to Skip to main content
15,888,008 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Every One,

I am working in web application in Asp.Net4.0. I have implemented Multilingual using Resource Files in my application. I have applied on static label's Text. It is working fine but Now my Requirement is that I am filling drop down lists with data from database. I am filing dropdownlist at run time.

So How can i apply multilingual on dropdownlists's values.

Please give me any idea, link or solution.
Posted

1 solution

http://techtt.org/post/2012/10/19/Multilingual-website-using-aspnet.aspx

careate a drop down

asp:DropDownList ID="ddlLanguage" runat="server" AutoPostBack="True"
onselectedindexchanged="ddlLanguage_SelectedIndexChanged"
meta:resourcekey="ddlLanguageResource1">
<asp:ListItem Value="en-us">English</asp:ListItem>
<asp:ListItem Value="fr-FR">French</asp:ListItem>
</asp:DropDownList><br />



remain is given in the link download and go through if not understand come back

concept depends on culture and UIculture of the particular country

so we have to create resource for every language/country and on the selection of the language drop down data will changed accordig to the resource file


---Aatif---
 
Share this answer
 
v2
Comments
coolnavjot31 28-Jun-13 23:44pm    
hi thanks for reply but provided link is not opening.
please review it

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900