Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » DateTimeCtrl refactored...
Re: DateTimeCtrl refactored... [message #12571 is a reply to message #12569] |
Fri, 09 November 2007 12:11   |
|
Quote: | I do not use SetLanguage. Should I? In my Windows installation the active system locale is Finnish. Or should I separately define locale for Upp somehow?
|
Yes, you should. I do sth like this:
SetLanguage(LNGC_('P','L','P','L', CHARSET_UTF8));
Of course Finnish locales must be present in Upp core lib (this is the place where format of date for given country is set)
[Updated on: Fri, 09 November 2007 12:13] Report message to a moderator
|
|
|
|
Re: DateTimeCtrl refactored... [message #12581 is a reply to message #12580] |
Fri, 09 November 2007 14:08   |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Yep!
I sort of figured it out that some translations are needed. I ended up updating Lang.cpp and core.t with Finnish translations and language info.
Please, evaluate them and include to uppsrc if appropriate. Please let me know if updates/fixes or more things need to be done on this subject.
--
BTW: SetLanguage(::GetSystemLNG()) helps quite a bit, as I later also discovered in the documentation you linked to.
// Tom
|
|
|
|
|
|
Re: DateTimeCtrl refactored... [message #12656 is a reply to message #12638] |
Mon, 12 November 2007 14:41  |
Tom1
Messages: 1301 Registered: March 2007
|
Ultimate Contributor |
|
|
Please find attached the "fifi2.tr" extracted with "theide --export-tr fifi2" and updated with the Finnish translations.
// Tom
-
Attachment: fifi2.tr
(Size: 18.62KB, Downloaded 372 times)
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:25:37 CEST 2025
Total time taken to generate the page: 0.01142 seconds
|