locked
What is the difference between implicit and explicit localization? RRS feed

  • Question

  • User1885169913 posted

    Does this mean:

    implicit = using resx files in the app_localresources folder?

    explicit = using resx in the app_resources folder?

    If anyone has a good idea about this or some links please let me know.

    Sunday, October 11, 2009 3:13 PM

Answers

  • User-263151482 posted

    In implicit localization, you specify that control properties should automatically be read from a resource file, but you do not need to explicitly specify which properties are localized.

    <asp:Button ID="Button1" Runat="server" meta:resourcekey="ButtonResource1" Text="English Button" />

    In explicit localization, you set the value of a property by using an expression pointing to a resource file.

    <asp:Button ID="Button1" Runat="server" Text="<%$ Resources:LocalizedText, Msg1 %>">

    More here.



    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, October 12, 2009 1:06 AM