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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -