How can I select direct StringTable to load on to dialog interface
-
In my program, I have 2 string table (1 string table is French, 1 is English). Texts of dialogs are loaded from string table. When I select French, my program will load French string table in to dialogs interface (texts of dialogs are French) and when I select English interface, it will load remaining string table (English String Table) - Texts of dialogs are English. How can I do it?
Papais
-
In my program, I have 2 string table (1 string table is French, 1 is English). Texts of dialogs are loaded from string table. When I select French, my program will load French string table in to dialogs interface (texts of dialogs are French) and when I select English interface, it will load remaining string table (English String Table) - Texts of dialogs are English. How can I do it?
Papais
What have you done till now and what is that you are unable to do?
Let us not listen to those who think we ought to be angry with our enemies, and who believe this to be great and manly. Nothing is so praiseworthy, nothing so clearly shows a great and noble soul, as clemency and readiness to forgive. - Marcus Tullius Cicero
-
In my program, I have 2 string table (1 string table is French, 1 is English). Texts of dialogs are loaded from string table. When I select French, my program will load French string table in to dialogs interface (texts of dialogs are French) and when I select English interface, it will load remaining string table (English String Table) - Texts of dialogs are English. How can I do it?
Papais
I dont see any problem on your question :doh:
WhiteSky
-
What have you done till now and what is that you are unable to do?
Let us not listen to those who think we ought to be angry with our enemies, and who believe this to be great and manly. Nothing is so praiseworthy, nothing so clearly shows a great and noble soul, as clemency and readiness to forgive. - Marcus Tullius Cicero
brahmma wrote:
What have you done till now and what is that you are unable to do?
Former my program, I used dll to load resource French. but now, I don't want to use dll. I want to use string table to support multilingual. use "String Tables" instead of creating a new set of Dialogs for each supported language. String Tables are to support multiple languages. I have created 2 stringtables (French and English): // English (U.S.) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #pragma code_page(1252) #endif //_WIN32 // String Table // STRINGTABLE DISCARDABLE BEGIN IDS_ABOUTBOX "&About TestStringTable..." IDS_TEST "This is test about dialog load string table" IDS_CREATE "Create" END #endif // English (U.S.) resources //French: // French (France) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA) #ifdef _WIN32 LANGUAGE LANG_FRENCH, SUBLANG_FRENCH #pragma code_page(1252) #endif //_WIN32 // String Table // STRINGTABLE DISCARDABLE BEGIN IDS_ABOUTBOX "&About TestStringTable..." IDS_TEST "C'est essai au sujet de table de corde de charge de dialogue" IDS_CREATE "Crée" END #endif // French (France) resources In InitDialog function, I load button text is IDS_CREATE. If English is selected, button text is Create and if French is selected, button text is Crée. Please show me a solution to solve it. Thanks a lot
Papais
-
I dont see any problem on your question :doh:
WhiteSky