Localization of the ASP.NET login control

Discussion in 'ASP .Net Web Controls' started by Martin Bischoff, Aug 15, 2006.

  1. Hi,
    do the ASP.NET 2.0 controls (such as the login control) have built-in
    support for localization?

    In other words, if I install the german language pack for .NET 2.0, will the
    login control be displayed in german or do I have to manually translate all
    the strings (in the ASPX page)?

    Thanks,
    Martin
     
    Martin Bischoff, Aug 15, 2006
    #1
    1. Advertising

  2. Hi Martin,

    Yes the login control will be displayed in German if you installed the
    German language pack for .NET 2.0. You can verify this by following steps:

    1) Download and install the German language pack for .NET 2.0 from
    http://www.microsoft.com/downloads/details.aspx?displaylang=de&FamilyID=39C8
    B63B-F64B-4B68-A774-B64ED0C32AE7

    2) Create a simple web site, add a login control to a webform

    3) In the webform's source, add 'UICulture="auto"' in the <%@ Page
    directive, for example:

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
    Inherits="_Default" UICulture="auto" %>

    4) View this page in browser, change your browser's preferred language to
    German: IE/Tools/Internet Options/General/Languages/, add German language
    and move it to top, refresh the page, you should see the login control
    displayed in German language.

    If you installed other language packs, users browsing your web site can set
    their preferred language and your web page will display in the language if
    its installed.

    Hope this helps. Please feel free to post here if anything is unclear.

    Sincerely,
    Walter Wang (, remove 'online.')
    Microsoft Online Community Support

    ==================================================
    Get notification to my posts through email? Please refer to
    http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
    ications.

    Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
    where an initial response from the community or a Microsoft Support
    Engineer within 1 business day is acceptable. Please note that each follow
    up response may take approximately 2 business days as the support
    professional working with you may need further investigation to reach the
    most efficient resolution. The offering is not appropriate for situations
    that require urgent, real-time or phone-based interactions or complex
    project analysis and dump analysis issues. Issues of this nature are best
    handled working with a dedicated Microsoft Support Engineer by contacting
    Microsoft Customer Support Services (CSS) at
    http://msdn.microsoft.com/subscriptions/support/default.aspx.
    ==================================================

    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Walter Wang [MSFT], Aug 16, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    3
    Views:
    647
  2. frekster
    Replies:
    1
    Views:
    959
    frekster
    Sep 14, 2005
  3. Sasquatch
    Replies:
    2
    Views:
    1,341
    Sasquatch
    Oct 3, 2006
  4. Sasquatch
    Replies:
    2
    Views:
    495
    Sasquatch
    Oct 4, 2006
  5. Jack
    Replies:
    1
    Views:
    755
Loading...

Share This Page