U++ framework
Do not panic. Ask here before giving up.

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: 14291
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: Sat Sep 19 19:32:17 GMT+2 2026

Total time taken to generate the page: 0.01655 seconds