I've entertained you all with the fact that I'm busy building a new website for the R/C model plane club here in Malmö. Now seeing as the main content of the page needs to be in Swedish, and my primary languages are Danish and English, I've asked one of the other club members to help out in translating the texts on all the menu items, buttons and controls into somewhat correct Swedish. This will all happen as soon as I've got the basic functionality done.

I just stumbled across a REALLY neat feature in VS2005! Instead of having to create resource files manually (believe me, that can be a pain in the behind!), there's a tool that can generate them for you. All you need to do is be in design view (either of a page or of a user control) and click Tools -> Generate Local Resouce. Voila, all the labels and other text items in your page or control are suffixed with the correct meta: tag, and a resource file is generated in App_LocalResources with the same name as the page or control you were working on. This neat feature just saved me hours and hours of really boring work that I wasn't looking forward to at all.

You can read lots more about ASP.NET 2.0 L10N (shorthand for Localisation - see there's 10 letters between L and N in that word ;-) ) here.

comments powered by Disqus