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 » Can I do RUN-TIME localization files?...
Re: Can I do RUN-TIME localization files?... [message #23621 is a reply to message #23616] Fri, 06 November 2009 04:09 Go to previous messageGo to previous message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
i'm running on winxp (chinese).
in the same folder, are my exe and tr files. the tr file is exported using "file.exe --export-tr zhcn_" and i've checked that it contains chinese translations.
in my code, i've removed the three lines i specified.
source code is like t_("english"). and it runs showing english, too.
(P.S., i wonder how can exe file determine which tr file to use, if i have multiple tr files, without specifying the last line of the 3 lines' code.)

if i readd the three lines, t file is built in the exe and it shows in chinese.

it would be greatly helpful if some examples could be given. thank you very much.
 
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: GetLanguageInfo() works wrong on unknown languages
Next Topic: more complete lang.cpp
Goto Forum:
  


Current Time: Fri May 10 02:51:24 CEST 2024

Total time taken to generate the page: 0.02777 seconds