Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » how to Internationalize my app?
Re: how to Internationalize my app? [message #12181 is a reply to message #3332] |
Mon, 15 October 2007 20:22   |
 |
tvanriper
Messages: 85 Registered: September 2007 Location: Germantown, MD, USA
|
Member |
|
|
Thankfully, this topic existed, and I was able to get an application I created to work correctly in Spanish (I think), but I wonder if we couldn't modify the following web page a little bit, to help improve (just a touch) the documentation:
http://www.ultimatepp.org/srcdoc$Core$i18n$en-us.html
Here, it would be useful to know:
1. You need the following in one of the .cpp or .icpp files:
#define <YourProject/YourTranslations.t>
#include <Core/t.h>
2. You should set your application's default language using the following:
::SetLanguage( ::GetSystemLNG() );
(or am I wrong about this?)
3. Your various valid language codes (e.g. "esES" is Spanish) are available in Core as 'lcid.txt' within the Language area.
4. You can set your .t file's encoding by right-clicking on the file in TheIDE and selecting "Convert to encoding...", to ensure that it's set for UTF-8. I think you have to strip out the BOM that Windows might include for UTF-8 if you use Notepad to save your file in UTF-8 encoding, as I think you'll have problems compiling, otherwise.
|
|
|
 |
|
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:02:44 CEST 2025
Total time taken to generate the page: 0.04282 seconds
|