Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
tvanriper is currently offline  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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Non-english symbols unreadable [solved w/ SetDefaultCharset]
Next Topic: Spacing problems with FileSel...
Goto Forum:
  


Current Time: Wed Aug 27 01:02:44 CEST 2025

Total time taken to generate the page: 0.04282 seconds