StrataFrame Forum

Localizing datebox and calendar (SF1.7)

http://forum.strataframe.net/Topic24047.aspx

By Michel Levy - 8/2/2009

Hi,

How should I localize First day of week in the new Datebox and calendar controls? (in France, 1st day of week is monday)
How should I localize word "Today" in the calendar linked with datebox?
When I set CalendarControl.TodayText property to "Aujourd'hui", text is too long, and it covers the current date. How should I set it?

in attachments, one can see how the old datetimepicker correctly displays both first day of week, and french translation of "Today"

By Teddy Jensen - 8/6/2009

Hi Trent,

In Denmark the first day of the work is also monday. So like Michel I would like to be able to set the week start day or that the control will respect the international settings.

Hope this will be possible, because I like the new controls.

/Teddy

By Trent L. Taylor - 8/10/2009

I'll add the ability to set the first day of the week for a future point release. Also, you can localize the Today text by just calling the ReceiveTextValue on the Localization class. As for the length, I will see if there is anything that can be done. Are you getting this on the date box or the caledar control itse.f Because in the case of dropping on a calendar, you can size this however you like, thus you can make it fit.
By Teddy Jensen - 8/10/2009

I'll add the ability to set the first day of the week for a future point release.

Thanks Trent, look forward to that.

/Teddy