locked
Localization in custom controls RRS feed

  • Question

  • User-294030300 posted

    Hey,

    Are there any good articles/concepts to know of when trying to setup localization in a custom control?  I was creating a control that varies based on the locale, and so I wanted to build-in some of the features using the localization in the control directly, instead of using local resources outside in the page.

    Thanks.

    Thursday, August 24, 2006 11:16 AM

All replies

  • User-503940700 posted

     Hi,

    Localization is an applicaiton (or Page) wide concept. You custom control will need to be "localizable" when the Culture and UICulture of the thread changes. Implementing this on a control level is not recommended as you need to specify the location of resource files etc. too.

    Hope this helps,

    Vivek

     

    Sunday, August 27, 2006 11:58 AM
  • User-294030300 posted

    Thanks for your reply.

    But to a point, you may have to use resources and localization; I was thinking of building an address control, which has line 1-3, city, state, zip, etc.  However, addresses are in various formats for different countries, such as variations in the zip code.  I would think some support for localization would be needed...

    Monday, August 28, 2006 8:11 AM