c# - Multilingual Approach in ASP.Net Application -
i have asp.net page contains labels. want implement label multilingual. have 2 approaches(there may more):
1: use text property as
<asp:label id="some_id" text="resources.resourcefile.resourcekey" runat="server" />
and second approach is
2: override label control or create custom control , expose key accept resource key , replace label custom control.
please let me know, best approach , why?
thanks in advance
if understood question correctly, think should take @ this:
http://www.codeproject.com/articles/334820/using-globalization-and-localization-in-asp-net
Comments
Post a Comment