spanish problem

N

Neko

Hi,

I use VS.Net 2003 cf. to make an application, which should show the texts in
different language, e.g English, Dutch, Italian, Spanish... we use
Platbuilder CE.Net to make the CE platform first to support these language.
The installed languages can be seen in Control Pannel/Regional Settings
Properties/Your locale and no problem to select any one of them.

But the annoying thing is: these is no problem to show the texts in all
other languages in my application, but only Spanish gives
"System.PlatformNotSupportedException". we tried it in platform with
Spanish(Spain-traditional)-"es-ES", or Spanish (international) or Sapnish
(Mexico)-"es-MX". But none of them worked.

Of couse we tried to debug, and find out the only different thing between
Spanish and other languages is: the spanish CultureInfo.Parent gave
System.PlatformNotSupportedException and other language e.g french (fr-FR)
has its Parent as "fr".

Is there anyone who has an idea about it? Thanks for any hint.

neko
 
N

Neko

I found out where the problem meight be
instead using
CultureInfo culture = new CultureInfo("es-ES");
do
CultureInfo culture = new CultureInfo(1034);
and if you ask for culture.Name, it gives actually "es-ES". A bug?

neko
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top