SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

translation in DateTimePicker

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
Volker



Joined: 16 Jun 2004
Posts: 12

PostPosted: Wed Jun 16, 2004 7:40 am    Post subject: translation in DateTimePicker Reply with quote

I try to internationalize my application and now I'm wondering if it is possible to translate the names of the month in DateTimePicker.
Can I use the Locale for that?
I'm new to delphi and SiComponents at all.
Any suggestions to solve my problem?

Thanks,
Volker
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Thu Jun 17, 2004 5:00 am    Post subject: Reply with quote

TDateTimePicker is just the wrapper of standard/native Windows control and takes the names for months and days from OS depending on user locale. And this drives to imposibility of its translation. But there is available RX Library components on the Web, which include TDateEdit component with quite the same and sometimes extended functionality than TDateTimePicker. And this component takes values fro months and days from Delphi's locales variables such as LongMonthNames and ShortDayNames, which could be easily translated by TsiLang using Locales property and ChangingLocales property set to True.
Hope this helps.
Back to top
View user's profile Send private message
Volker



Joined: 16 Jun 2004
Posts: 12

PostPosted: Thu Jun 17, 2004 10:21 am    Post subject: Reply with quote

Thank you for your quick answer.
I'll try this soon.

Volker
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group