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 #19691 is a reply to message #19685] Mon, 05 January 2009 22:35 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 11:34


The easiest way I can think of, is to do it with a code like this:
PromptOK(String("MyProject/src/About$") + GetLanguageCode(GetCurrentLanguage()));

}[/code]The change is that it does not add charset name and returns lower-case language code, exactly as TPP editor set language codes for topics.

Am I inventing a wheel?


You can use:

LNGAsTxt(SetLNGCharset(GetCurrentLanguage(), CHARSET_DEFAULT))

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: Tue Sep 15 14:09:46 GMT+2 2026

Total time taken to generate the page: 0.00738 seconds