On 03/10/2007, Marc Santhoff <[EMAIL PROTECTED]> wrote:
>
> I'd try by using an xterm and setting locale to "de_DE.ISO8859-15" or
> whatever it's named on your System. After that you can start a test
> program from that xterm.
>
> Last time when I was localizing a program I made a new user having $LANG
> set to french ("fr_FR.ISO8859-15").Thanks Marc. I installed xvkbd which is a virtual keyboard with support for other language layouts. I'll also set my xterm to the correct locale before doing some testing. Reading the Xlib documentation on keyboard input handling. In think (if I understood the documentation correctly) I might have to change the XLookupString() call to Xutf8LookupString() in TfpgApplicationImpl.StartComposing(). XLookupString() only supports Latin-1 (or ASCII). I made a few changes locally and will do some testing. Using fpGUI as a widget set in Lazarus. How would this affect things? Does the underlying toolkit pass keyboard input to LCL or does it go from LCL to the underlying toolkit? Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
