Login  Register

i18n question: How to support more languages?

Posted by Janos Kazsoki on May 25, 2006; 3:00pm
URL: https://forum.world.st/i18n-question-How-to-support-more-languages-tp3378696.html

Hi,

My XP has a Locale('English (United States)') (displayed by Local
default in a workspace). It is fine.

I have Hungarian and Germany keyboards installed, I can switch between
the different keyboards.

If I would like to "hardcode" different versions in a method, like for
example:

Info add: 'infoEN' -> 'Creativity'.
Info add: 'infoDE' -> 'Kreativität'.
Info add: 'infoHU' -> 'Kreatívitás'.

The german umlauts, like äöü... seem to work (I haven't tried ß,
but i suppose it also does), but I have big problems with hungarinal
national characters, like ou. Strange enough: á and í work fine.

When I accept the text in the body of a method, I get the followings
instead: o - o, u -u

In a workspace I get û instead of u.

Now as I have found in DSDN if I would set the XP locale to hungarian
(and restart the machine) then ou would work fine.

Is there a possibility to set the "character set" temporarily to some
other national character set (represented by the keyboard), so that I
can accept english, german, hungarian... text constants for a
dictionary or lookup table? (Not to speak about symbols, because if
they become later commands in a menu (menü, menu)I do not think it is
good).

Thank you,
Janos