473,397 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Localized strings not working on old Windows version

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 Strings.nl.resx. 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
Strings*.resx:

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
installation/configuration.

Any ideas?

Robert
Nov 16 '05 #1
0 1286

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bogdan Zamfir | last post by:
Hi, I have big troubles with an Access2002 application I wrote it under Acc2002 Romanian, and try to run it on Acc2002 US version, and I have the following troubles For some forms, Load event...
3
by: Jerry | last post by:
Hi, MessageBox can be localized? It's say, Can I set the language of "OK", "Cancel" button.
4
by: M | last post by:
Hello, I have code like dt.DayOfWeek.ToString(CultureInfo.CurrentCulture) where dt is a DateTime object. I get something like "Sunday", "Monday", etc... while I'm expecting it to be in...
4
by: Piotr Strycharz | last post by:
Hi I'm wondering what is the best way to design localized applications. The SDK says I should use ResourceManager and satellite assemblies. However, there is a severe pitfall doing this. The...
2
by: Jon | last post by:
I am doing the following: Me.lblDTCompleted.Text = DateTime.Parse(drTemp.Item(_DATECOMP)).ToString + strTZ where drTemp.Item(_DATECOMP) is datetime field in SQL server. I want to display the...
1
by: Fredrik Melin | last post by:
Hi, How can I load a localized resource file without changing the UI culture? Sample: System is running in English (default) but I want to create a System.Resource.ResourceManager and...
3
by: Mark Findlay | last post by:
When programming reads of the Windows Registry, do the registry keys and values need to be localized for international use? For example, do I need to convert the key name...
2
by: Tim Sprout | last post by:
FxCop gives a "Do not pass literals as localized parameters" warning on the dot Text properties of my Form1 components in Form1.Designer. These are the strings that label the buttons and form. I...
5
by: =?Utf-8?B?QXhlbCBEYWhtZW4=?= | last post by:
Hi, I've created a class library assembly containing several string resource files, like: - TableColumns.resx - TableColumns.de.resx - General.resx - General.de.resx
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.