Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have 2 resource.resx files english.resx and farsi.resx I want to set button text in english if select english mode else set farsi in farsi mode
I find this code :

C#
<asp:Button ID="btnTest" runat="server" Text="<%$ Resources: TestResource, Test %>" />



this is correct for 1 resource file but I have 2 files How can give 2 resource file?
Posted

1 solution

You really need to learn ASP.NET Globalization and Localization: http://msdn.microsoft.com/en-us/library/vstudio/c6zyy3s9%28v=vs.100%29.aspx[^].
—SA
 
Share this answer
 

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