Hi Axel,
For the resource retrieving question you mentioned, it is due to the
"ResourceManager.GetString" has two versions, one take a single string
input parameter which will retrieve the resource string depend on your
application's current Culture setting. This can be configured by setting
currrent Thread's UICulture. e.g.
=========
//set the UICulture first
CultureInfo culture = new CultureInfo("de-De");
System.Threading.CurrentThread.CurrentUICulture = culture;
//use ResourceManager to retrieve string
========
the following article also mention this:
#Internationalize Your ASP.NET Applications (Part 2 of 3)
http://www.devx.com/dotnet/Article/6999
Or if you want to supply the CultureInfo(determine which culture specific)
when loading the resource item, you can use another signature of the
"GetString" method:
#ResourceManager.GetString Method (String, CultureInfo)
http://msdn2.microsoft.com/en-us/library/aa330255(VS.71).aspx
therefore, the resource loading is depend on the second "CultureInfo"
parameter instance.
Here are some other reference on .NET localization:
#Resources in Applications
http://msdn2.microsoft.com/en-us/library/f45fce5x(VS.71).aspx
#Resources and Localization Using the .NET Framework SDK
http://msdn2.microsoft.com/en-us/library/aa309421(VS.71).aspx
Hope this helps.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------