i18n question: How to support more languages?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

i18n question: How to support more languages?

Janos Kazsoki
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


Reply | Threaded
Open this post in threaded view
|

Re: i18n question: How to support more languages?

Janos Kazsoki
Yeah,
just as like here: "long oe" has becaome o, and "long ue" has become
u...  They are the Alt 151 and Alt 171 in WIndows Central Europe code
page...
Janos


Reply | Threaded
Open this post in threaded view
|

Re: i18n question: How to support more languages?

Blair McGlashan-4
In reply to this post by Janos Kazsoki
"Janos" <[hidden email]> wrote in message
news:[hidden email]...
>
> 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).


I imagine this would be possible by responding to the WM_INPUTLANGCHANGE and
reconfiguring Scintilla appropriately (see the recent "D6 and local charsets
(was: "toggleLocalHierarchy" button)" for some further information).

Regards

Blair


Reply | Threaded
Open this post in threaded view
|

Re: i18n question: How to support more languages?

Janos Kazsoki
Blair,

I give a try.

Thank you,
Janos