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 get proper topic
How to get proper topic [message #4760] Mon, 21 August 2006 15:43 Go to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

Lets say that I have the same topic written in two different lanuages:

HomeBudget/src/About$pl-pl
HomeBudget/src/About$en-us

Is there any way to get topic in poper language automatically?
Now I'm doing sth like this (I must specify $xx-xx suffix, otherwise nothing will be displayed):

if lang = polish
dlg.info.SetQTF(GetTopic("HomeBudget/src/About$pl-pl"));
else
dlg.info.SetQTF(GetTopic("HomeBudget/src/About$en-us"));

Is there method like let's say GetTopicLang.. which returns topic in language selected in SetLanguage() eg:

GetTopicLang("HomeBudget/src/About") (without suffix)

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Enumerates and names all available Languages
Next Topic: Hungarian translation update
Goto Forum:
  


Current Time: Fri Mar 29 02:21:09 CET 2024

Total time taken to generate the page: 0.01230 seconds