Click here to Skip to main content
15,921,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
Rajesh R Subramanian28-Mar-08 3:10
professionalRajesh R Subramanian28-Mar-08 3:10 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
NormDroid28-Mar-08 2:59
professionalNormDroid28-Mar-08 2:59 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
Rajesh R Subramanian28-Mar-08 3:11
professionalRajesh R Subramanian28-Mar-08 3:11 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
ganesa moorthy28-Mar-08 2:41
ganesa moorthy28-Mar-08 2:41 
QuestionRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
Matthew Faithfull28-Mar-08 2:11
Matthew Faithfull28-Mar-08 2:11 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
ganesa moorthy28-Mar-08 2:46
ganesa moorthy28-Mar-08 2:46 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
Royaltvk28-Mar-08 4:33
Royaltvk28-Mar-08 4:33 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
Matthew Faithfull28-Mar-08 4:43
Matthew Faithfull28-Mar-08 4:43 
OK XP is a good start that makes it a lot easier than it might be.
You need to research UNICODE of course, the link I gave you is a start.
SIPS are not hard to write but there aren't many samples about, look for some Open Source ones. You may have to trawl incomprehensible Chinese and Japanese web sites and guess at the link for downloading to get what you need.
Two other technologies you should look into IMEs, you'll need to get and use 3 of these, for Chinese, Japanese and Korean for development and you may or may not choose to ship them. I think there are some fairly standard ones with XP and some more popular after market replacements, quiz your far east sales people to find out what your potential customers are used to. Install these, switch on support of the language in control panel and hey presto your standard Edit control becomes IME aware and capable of entering complex characters like Japanese Katakana ?? ( way cool you have to try it Big Grin | :-D )
The other tech to look at is TSF (Text Services Framework) it's huge and I've never used it (not available on CE) but it might take a lot of work out of what you need to do.
Look also at multilanguage resources for string tables, I'm sure there's something on CP about doing that effectively.
When it comes to rendering text, even RTL, XP will do that for you reasonably well, DrawTextEx backend onto a whole DLL full of UNICODE goodies, BIDI (Bidirectional text) algorithum, Script Shaping for Arabic and of course all the glyph mapping stuff. Be glad you don't have to roll your own as some of this stuff is seriously hard Smile | :) .
Two rules to always keep in mind.
1. Never use any hard coded text in your code that might end up anywhere near the UI. Keep it all in resources or better still in external files e.g. XML
2. Keep a definitive list of the client system requirements for using your software, e.g. 'must have Japanese language pack installed', 'must have working Korean IME'
otherwise it's likely to end up working on your dev PC but nowhere else. Smile | :)

Nothing is exactly what it seems but everything with seems can be unpicked.

QuestionRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
ganesa moorthy28-Mar-08 4:52
ganesa moorthy28-Mar-08 4:52 
GeneralRe: Multilingual preparation - How to make Chinese Text or japanese text appear on menu items or button captions etc., Pin
Matthew Faithfull28-Mar-08 5:09
Matthew Faithfull28-Mar-08 5:09 
GeneralRe: Multilingual preparation - Small doubt may be silly sorry to trouble you [modified] Pin
ganesa moorthy29-Mar-08 1:53
ganesa moorthy29-Mar-08 1:53 
GeneralRe: Multilingual preparation - Small doubt may be silly sorry to trouble you Pin
Matthew Faithfull29-Mar-08 5:43
Matthew Faithfull29-Mar-08 5:43 
GeneralRe: Multilingual preparation - Small doubt may be silly sorry to trouble you Pin
ganesa moorthy29-Mar-08 5:52
ganesa moorthy29-Mar-08 5:52 
GeneralRe: Multilingual preparation - Small doubt may be silly sorry to trouble you Pin
Royaltvk31-Mar-08 3:12
Royaltvk31-Mar-08 3:12 
GeneralRe: Multilingual preparation - Small doubt may be silly sorry to trouble you Pin
ganesa moorthy31-Mar-08 3:19
ganesa moorthy31-Mar-08 3:19 
QuestionHow Can Show Dialog Box Initially Maximize? Pin
Le@rner28-Mar-08 1:27
Le@rner28-Mar-08 1:27 
AnswerRe: How Can Show Dialog Box Initially Maximize? Pin
Saurabh.Garg28-Mar-08 2:18
Saurabh.Garg28-Mar-08 2:18 
GeneralRe: How Can Show Dialog Box Initially Maximize? Pin
Le@rner28-Mar-08 2:23
Le@rner28-Mar-08 2:23 
GeneralRe: How Can Show Dialog Box Initially Maximize? Pin
Le@rner28-Mar-08 19:06
Le@rner28-Mar-08 19:06 
GeneralRe: How Can Show Dialog Box Initially Maximize? Pin
Saurabh.Garg28-Mar-08 20:06
Saurabh.Garg28-Mar-08 20:06 
GeneralRe: How Can Show Dialog Box Initially Maximize? Pin
Le@rner28-Mar-08 21:05
Le@rner28-Mar-08 21:05 
AnswerRe: How Can Show Dialog Box Initially Maximize? Pin
Hamid_RT16-Apr-08 0:33
Hamid_RT16-Apr-08 0:33 
QuestionTo Access Visual Studio Command Prompt Programmatically Pin
Mushtaque Nizamani28-Mar-08 0:40
Mushtaque Nizamani28-Mar-08 0:40 
GeneralRe: To Access Visual Studio Command Prompt Programmatically Pin
rp_suman28-Mar-08 0:58
rp_suman28-Mar-08 0:58 
GeneralRe: To Access Visual Studio Command Prompt Programmatically Pin
David Crow28-Mar-08 3:02
David Crow28-Mar-08 3:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.