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 #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: 13980
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: Wed May 15 11:24:26 CEST 2024

Total time taken to generate the page: 0.03363 seconds