PlaneShift
Support => Technical Help: Problems BEFORE entering the game => Topic started by: googletime on October 21, 2008, 03:31:57 pm
-
I want to input chinese at client side.What shoud i do?
How can I add IME to planeshife client?
-
as you have been told on irc a few times, this is not an easy job yet something that can be done due to many changes needed. please listen to what you have been told.
-
Perhaps the people on irc don't know how to do it but a forum reader does?
Anyone?
-
IME is most naturally added at the Crystal Space level since it is platform-dependent and we use platform-independent widgets. We already support chinese display.
For Windows, CS will need to handle WM_IME_* messages and translate these to the appropriate characters. http://msdn.microsoft.com/en-us/library/ms776154(VS.85).aspx
For Mac OS, CS will need to handle unicode input events: http://developer.apple.com/documentation/Carbon/Conceptual/UnderstandTextInput_TSM/tinptsm_concepts/chapter_2_section_3.html#//apple_ref/doc/uid/TP30000091-BHJDDIBI
AFAIK, this is pretty painful for Linux.
-
Actually it seems IME is already supported in Crystal Space for Windows. The PS client code for text boxes just needs to be modified to accept unicode characters.
-
Look into something called "dark domain" which is a project where someone seems to be already making a translation