Last post Aug 28, 2006 08:11 AM by bmains
Aug 24, 2006 11:16 AM|bmains|LINK
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.
Aug 27, 2006 11:58 AM|vivek_iit|LINK
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,
Aug 28, 2006 08:11 AM|bmains|LINK
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...