Languages, keyboard maps and ask dialogs
Lars Brehmer
larsbrehmer at mac.com
Thu Sep 14 16:56:09 EDT 2006
I seem to have one last language-character problem begging for a
solution.
No one came up with a way to switch to the correct the keyboard map
when a field is clicked in or otherwise active, so I guess I will
have to live with that. I did find out something interesting through
experimentation. At least with my app running in Windows, it DOES
actually switch when a Russian field is clicked in, but when an
Estonian field is clicked in, it switches to the English keyboard
map. I assume this is because the machine I use was purchased in the
US and there seems to be no way to ged rid of that keyboard. If I
delete it and make the default map Estonian and click in ANY field
with Roman/Latin mapping, the English keyboard magically reappears
and is selected. I will try this on a locally bought machine that
doesn't have English as the default keyboard map, which just might
work. If notl, at the least the Russian fields seem to work. I
suppose that most people who use different mappings on a regular
basis are used to this problem, so I guess in the end it is not a big
deal. On the Mac, it never switches to Russian. Not really a
problem because 98% of potential users here have Windows machines,
just a little frustrating for me working with it :-(
Now to the last problem. No matter what I try with useUnicode,
uniencode, unidecode etc. I can't get an ask dialog to work with
Russian. All I want is to ask a user's name and put it into a field.
The textFont of the field is Geneva,Russian
So far the ask dialog is in Estonian. It asks for your name, and
when you use the Russian keyboard map and type in a name, it shows up
fine, in Russian in the name field. But I'd prefer to ask in
Russian, but can't get Russian in the ask dialog. I have tried
storing the question in a separate field, and as a custom property
and in both cases tried every combination of uniEncode and uniDecode
that works in other aspects of this project. I saw Sarah's post
about the Danish .lproj being useful. Is this where I should be
looking, because I have no idea what that is, how it works or how to
implement it. Is there anything else i should be trying? I am once
again really stumped here!
Cheers,
Lars
More information about the use-livecode
mailing list