Home » U++ Library support » U++ Core » Problem with LanguageInfo
Problem with LanguageInfo [message #52147] |
Mon, 29 July 2019 10:10 |
coolman
Messages: 114 Registered: April 2006 Location: Czech Republic
|
Experienced Member |
|
|
Hi,
I have a problem with LanguageInfo. I would like to use separators based on selectected language. But when I execute GetLanguageInfo().ToString() I got
LANGUAGE={EN-US}ENGLISH NAME={English}NATIVE NAME={English }THOUSAND SEPARATOR={}DECIMAL POINT={}MONTH NAMES={ {} / {} {} / {} {} / {} {} / {} {} / {} {} / {} {} / {} {} / {} {} / {} {} / {} {} / {} {} / {}}DAY NAMES={ {} / {} {} / {} {} / {} {} / {} {} / {} {} / {} {} / {}
There is also problem with Format fuction. When the language is set to SetLanguage(LNGC_('C', 'S', 'C', 'Z', CHARSET_UTF8)), Format("%Mon", 6) returns "Čer" but Format("%vl", 1234567.89) returns "12345670".
OS: Linux ul001602 4.18.0-25-generic #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Compiler: clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
Test is attached (Message edited - test replaced).
Thanks for help, Radek
[Updated on: Mon, 29 July 2019 10:21] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Thu Mar 28 22:22:00 CET 2024
Total time taken to generate the page: 0.01723 seconds
|