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 » GetLanguageCode
Re: GetLanguageCode [message #19698 is a reply to message #19693] Mon, 05 January 2009 23:23 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
White_Owl wrote on Mon, 05 January 2009 16:42

Well... After some tweaking I now load my QTF's like this:
Topic GetTopicLNG(const String &path) {
	return GetTopic(path + "$" + ToLower(LNGAsText(GetCurrentLanguage()).Left(5)));
}
....

PromptOK(GetTopicLNG("MyProject/src/About"));

May be some kind of language sensitive loading function should be in the default Topic library?


Sounds good Smile

Should there be used the trick to remove charset too?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to add ISO10646 charset?
Next Topic: GetNativeLangName returns English for non-english languages
Goto Forum:
  


Current Time: Thu May 16 10:42:46 CEST 2024

Total time taken to generate the page: 0.01762 seconds