Sunday, March 29, 2009

Problem with localization ASP.NET applications: thing to keep in mind

Ever tried to create an localizable ASP.NET 2.0 application?
Seen following links?
http://msdn.microsoft.com/en-us/library/fw69ke6f(VS.80).aspx
http://msdn.microsoft.com/en-us/library/w7x1y988.aspx
http://msdn.microsoft.com/en-us/library/1021kkz0.aspx

It does work very well until you decide to keep only localized resources, for example:

MyPage.aspx.en-US.resx
MyPage.aspx.de-DE.resx
MyPage.aspx.ru-RU.resx

Once you delete the default resource MyPage.aspx.resx - the localization stops to work!

So here is the rule:

NEVER DELETE DEFAULT RESOURCE FROM PROJECT IF THE APPLICATION MUST BE LOCALIZABLE

and enjoy...

No comments: