By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,282 Members | 1,491 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,282 IT Pros & Developers. It's quick & easy.

Localized strings not working on old Windows version

P: n/a
Hi all-

I'm trying to add Windows 98/ME support to an app that previously only
supported Windows 2000+. My test box is a running 98 SE. I have a number
of localized forms (translated for English (default) and Dutch), as well as
two additional resource files that conatin various strings: Strings.resx
and Everything works fine on Windows 2000 or XP. However,
in 98 I get the English text regardless of what the CurrentUICulture is.

I am setting the culture with:

Thread.CurrentThread.CurrentUICulture = new CultureInfo ("nl");

I've tried using both "nl" and "nl-NL" here. And the resource manager for

Res = new ResourceManager ("Strings", Assembly.GetExecutingAssembly());

I am retrieving the strings with:

Res.GetString (str, Thread.CurrentThread.CurrentUICulture);

An interesting side note: if I set the cuture with:

Thread.CurrentThread.CurrentCulture = new CultureInfo ("nl-NL");

Then I get Dutch time/date formats, as well as Dutch days of the week from
DateTime.ToString() - however, still no localized Dutch resources.

I should also mention that this is an en-US Windows 98

Any ideas?

Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.