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 retrieve current language?
Re: How to retrieve current language? [message #15802 is a reply to message #15491] Thu, 08 May 2008 00:25 Go to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

I use this construction

String(ToLower(LNGAsText(GetCurrentLanguage()& 0xfffff)))


This return 'en' or 'ru' in string format.


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cjk - XIM - upp only process one character
Next Topic: Japanese IME test code
Goto Forum:
  


Current Time: Tue May 13 20:25:31 CEST 2025

Total time taken to generate the page: 0.02875 seconds