Click here to Skip to main content
15,891,689 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, this is Naidu.

I am developing a asp.net project in which if the user selects telugu hyperlink, entire webpage should be converted to telugu. If user selects hindi, it should be changed to hindi.
Posted
Updated 13-Sep-11 20:01pm
v2
Comments
Prerak Patel 14-Sep-11 2:01am    
Use proper case and punctuation in question.

 
Share this answer
 
You have to create the satellite assembly, add multiple resource string files and keep in the different language texts in those files..

at runtime you can change the default language to your custom..

or you can have a custom class to get the resource string

public calss Resource
{
public static GetString(string ResourceId,string language)
{
//read from specific resource and return it
}
}

you can call this class from the aspx page to bind the language specific content.

the main thing is you should not put any literal text directly in aspx page or code behind, do it through one resource id and bind it at runtime.
 
Share this answer
 
v2

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