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 #3355 is a reply to message #3353] Sun, 21 May 2006 14:17 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
forlano wrote on Sun, 21 May 2006 07:48

luzr wrote on Sun, 21 May 2006 12:22


Is your .t file in UTF-8? It MUST be!

To change encoding of file, go to "Project/File properties". Alternatively, you can do that in package organizer, even for the whole package.



It was set to "default". I set it to "UTF-8" and run the synchronization. Now it works!

Quote:


As for modifying message files, yes - that is that commandline thing decribed in Internationalization topic. Plus, you can import it back to TheIDE and place strings to .t files using "Project/Import runtime translation files".

Mirek



I've generated the file itit-t.tr by the command line
HelloWorld.exe --export-tr  itit-

Now I believed that modifying the itit-t.tr file I could update the internal message.t file I used at compile time. Instead nothing!
After some time and test I've discovered that the .tr file is used only if the .t file has empty translation for some item. In other words, where .t has already its own translation the corrispondent item in .tr is ignored.
This means that if one would give free hand to the user should prepare a .t file all with empty translation, and support it via .tr file. Am I right?

Luigi


Yes, that is correct. You can however add those empty translations easily in Synchronize....

BTW, you can do so even later, all translations ever used are stored in special file. That means, if you are adding new language and translation is already in that database, it is inserted automatically.

Mirek
 
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:05:24 CEST 2025

Total time taken to generate the page: 0.15856 seconds