Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » how to Internationalize my app?
Re: how to Internationalize my app? [message #3343 is a reply to message #3342] |
Sun, 21 May 2006 07:53   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
forlano wrote on Sat, 20 May 2006 18:19 |
luzr wrote on Sat, 20 May 2006 23:23 |
Well, you was near:
SetLanguage(LNG_('D','E','D','E'));
Mirek
|
I'm sorry to bother you again with this topic, but perhaps I'm missing something else... the message file, message.t, is in the same folder of the executable and I've added some Italian words. When I run
void VegaMain::SelectLanguage()
{
SetLanguage( LNG_('I','T','I','T') );
}
The message continue to be in English even if it present the Italian one. Maybe I must force in some way the reading of the message.t file or indicate to the app that it exists.
Luigi
|
Sorry, my fault....
First, .t should be in your package dir like all other source files. It gets compiled into the .exe.
Second, I forgot to mention that you have to include .t file somewhere in sources (not headers) like
#define TFILE <CtrlLib/CtrlLib.t>
#include <Core/t.h>
If you have any non-main package, place this into .icpp file so that it is forced to be linked always. Anyway, if you are doing so for the main package, it is enough to place it to the .cpp with GUI_APP_MAIN (that one gets linked always).
Mirek
|
|
|
 |
|
how to Internationalize my app?
By: forlano on Sat, 20 May 2006 17:37
|
 |
|
Re: how to Internationalize my app?
By: mirek on Sat, 20 May 2006 20:54
|
 |
|
Re: how to Internationalize my app?
By: forlano on Sat, 20 May 2006 23:17
|
 |
|
Re: how to Internationalize my app?
By: mirek on Sat, 20 May 2006 23:23
|
 |
|
Re: how to Internationalize my app?
By: forlano on Sun, 21 May 2006 00:19
|
 |
|
Re: how to Internationalize my app?
By: mirek on Sun, 21 May 2006 07:53
|
 |
|
Re: how to Internationalize my app?
By: forlano on Sun, 21 May 2006 09:13
|
 |
|
Re: how to Internationalize my app?
By: mirek on Sun, 21 May 2006 10:00
|
 |
|
Re: how to Internationalize my app?
By: forlano on Sun, 21 May 2006 11:35
|
 |
|
Re: how to Internationalize my app?
By: mirek on Sun, 21 May 2006 12:22
|
 |
|
Re: how to Internationalize my app?
By: forlano on Sun, 21 May 2006 13:48
|
 |
|
Re: how to Internationalize my app?
By: mirek on Sun, 21 May 2006 14:17
|
 |
|
Re: how to Internationalize my app?
|
 |
|
Re: how to Internationalize my app?
By: mirek on Wed, 17 October 2007 19:27
|
 |
|
Re: how to Internationalize my app?
|
 |
|
Re: how to Internationalize my app?
By: mirek on Fri, 19 October 2007 18:09
|
Goto Forum:
Current Time: Wed Aug 27 01:04:25 CEST 2025
Total time taken to generate the page: 0.00324 seconds
|