Udostępnij za pośrednictwem


Localization is one of the coolest features in ASP.NET 2.0

To this day I don't think we talk about the localization story in ASP.NET 2.0 enough -- the built in framework really makes it simple to produce a multi-lingual site, the type of thing that would take TONS of code and pain before.  In October we released an article that discusses the system in depth -- we updated it today to be inline with RTM and have 3 supplemental papers in the pipeline to continue teaching folks about localization.  If you care about localization at all this is a must read -- Expect 1 article every 3-4 weeks on this topic from us, i'll keep you up to date here.

Read the article at:
https://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/asp2local.asp

Comments?  Let me know!

Comments

  • Anonymous
    April 13, 2006
    This was a nice step for localization, but I don't understand why they would not support plugging a different provider into the resource manager? As it stands now, unless I am missing something, all of us that store our localized text somewhere besides the resource files are having to write our own resource manager anyhow.

    Bob
  • Anonymous
    April 13, 2006
    Excellent, thanks for posting this Brian.
  • Anonymous
    April 14, 2006
    e
  • Anonymous
    April 14, 2006
    eeee
  • Anonymous
    April 15, 2006
    This is great, but one question. I have been using localization in ASP.net 2.0 for a while now and love it. My problem is the localization for the reports and reportviewer control. I went to Barnes and Nobles today as well as Borders and looked through EVERY Microsoft ASP.Net 2.0 book and others and not a single one of them had anything about Reports in the index., much less localization! There is very little on MSDN2, and only a few references. I have installed the report viewer reditributable and language pack as well, but still there isn't any hep! Does anyone know where there might be better information or examples for localizing the buttons on the reportviewer and how to change the textboxes (like global expressions) for the report based on the culture settings?!?! I am very familiar with creating reports, but I need them in Chinese!
    You are correct, we do need to talk about localization more.
    Thanks,
    ~bg
  • Anonymous
    April 20, 2006
    Thank's for the info.
    I'm still looking all over the place for the following:

    Easy to find info on Localizing ASP.NET Web Pages Using Resources.....

    DIDN'T FIND ANY INFO ON:
    Localizing ASP.NET Web SERVICES Using Resource????
    No access to GetGlobalResourceObject() and not abel to create a valid ResourceManager!

    Any idea?
  • Anonymous
    April 24, 2006
    The localization feature is great in ASP.Net 2.0.
    But I come across a problem while i was doing a strict test run.
    I a using a Beta copy

    Actually it has changed all the Tab-index settings and also, removed all the settings of onclick event with buttons.

    Any Idea how do i get it back, is a more than 150 controls form.

    Sunil
  • Anonymous
    April 26, 2006
    This is great, and it comes exactly when I needed it. But I have just one (major it seems) problem:

    I am using Web Developer Express, because here in my university in Lyon they don't seem to have an MSDN subscription (or if they do have, they hide it really well :P). And I don't seem to be able to find the "Generate Local Resources" option in the Tool menu. Is it normal for the express version?

    Is there any reasonable workaround on this?
  • Anonymous
    April 27, 2006
    tec-goblin --
    The Generate Local Resources option is only available in Visual Studio 2005 Standard Edition or greater.  You should find out if your school has MSDN AA because then you could get VS Pro for free.
  • Anonymous
    April 27, 2006
    sunil -- first you shoudl get an RTM version of the product.

    If you right click on the toolbox there should be a reset option of some sort, that should fix it up.
  • Anonymous
    May 01, 2006
    HI I HOPE YOU CAN HELP ME , SO I MAIL YOU OK.
    I HAVE LITLE BIT PROBLEM IN PROGAMING LANGUAGE, I DON'T UNDERSTAND 1 POINT. HOW CAN I USE IN ASP.NET IN VB.NET  THOURGH.

     OK ?
    THANKS
    BYE
  • Anonymous
    May 01, 2006
    WATS UP
  • Anonymous
    May 01, 2006
    The comment has been removed
  • Anonymous
    May 07, 2006
    Hi RSBCTrumpet,

    There is a book on ASP.NET 2.0 called Pro ASP.NET 2.0 in C# 2005 (http://www.apress.com/book/bookDisplay.html?bID=450) which has an example covering the localisation of reports in ASP.NET 2.0 a bit. Its in the Loccalisation chapter. Maybe that can help you, bg.

    Regards,
    Sommarafton  
  • Anonymous
    June 13, 2006
    I support Brad.  I did it in Windows Forms in/with 2003 - much simpler (in principle).  

    It should be possible to edit different language versions directly in the forms editor.

    (It must really have been bad before for all these people to be so happy .....)

    Olav
  • Anonymous
    June 13, 2006
    I support Brad.  I did it in Windows Forms in/with 2003 - much simpler (in principle).  

    It should be possible to edit different language versions directly in the forms editor.

    (It must really have been bad before for all these people to be so happy .....)

    Olav
  • Anonymous
    May 31, 2009
    PingBack from http://woodtvstand.info/story.php?id=7496