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 #3339 is a reply to message #3333] Sat, 20 May 2006 23:17 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1215
Registered: March 2006
Location: Italy
Senior Contributor
luzr wrote on Sat, 20 May 2006 20:54



You must add ".t" file to your package and invoke "Project/Synchronize translation files".

You do not need to make commandline export - that is good for translating U++ or app you do not have sources for, but not necessary for translating your app. Instead it is easier to use TheIDE to add languages in "Synchronize" and then edit .t directly.

Mirek


I'm very Very Happy ... here is my achievement:
// Vega.lay

T_("Edit Player")
deDE("")
itIT("")
ruRU("")

T_("Name")
deDE("")
itIT("Nome")
ruRU("ИмÑ")

T_("Fed")
deDE("")
itIT("")
ruRU("")
...

It is very easy (knowing what to do Smile ). Now the last thing please. By default the menu is an English but which command I have to run to make active, say, "itIT" translation at runtime when the user choose the Italian language?
By Navigate I have found
 
 SetLanguage(int lang);

I hoped that 'lang' was some index in the .t file but I was unlucky.

Luigi
 
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:01:23 CEST 2025

Total time taken to generate the page: 0.07947 seconds