PDA

View Full Version : Calendar localization



psmacarov
26 Oct 2010, 5:01 AM
I have problem with Ext Js Calendar, How i can to adapt Calendar interface 2 Russian user?
The first day of week is Monday, no Sunday as default in calendar. How i can shift calendar.

senacle
29 Nov 2010, 12:31 AM
I'm also searching how to localize Calendar.

I wrote in my ext-lang-fr.js this :


if(Ext.calendar.CalendarPanel) {
Ext.calendar.CalendarPanel.dayText: 'Jour'
}

But i've the following error :
invalid label

mankz
29 Nov 2010, 12:33 AM
It's not valid JS:



if(Ext.calendar.CalendarPanel) {
Ext.calendar.CalendarPanel.prototype.dayText = 'Jour';
}

evant
29 Nov 2010, 12:35 AM
https://github.com/bmoeskau/Extensible/blob/master/src/locale/

Use this as a template.

senacle
29 Nov 2010, 12:41 AM
I have problem with Ext Js Calendar, How i can to adapt Calendar interface 2 Russian user?
The first day of week is Monday, no Sunday as default in calendar. How i can shift calendar.

In CalendarView.js, there is this config property : startDay: 0

senacle
29 Nov 2010, 12:42 AM
It's not valid JS:



if(Ext.calendar.CalendarPanel) {
Ext.calendar.CalendarPanel.prototype.dayText = 'Jour';
}


With or without ';', i've the same error.

senacle
29 Nov 2010, 12:45 AM
https://github.com/bmoeskau/Extensible/blob/master/src/locale/

Use this as a template.

I want to be married with Extjs and Extjs team : very usefull framework, very active community, please accept you to be married ? :D ;) :)

zigulu
28 Jan 2013, 12:42 AM
i need a hijri calendar using local ar-Sa.
Any Help!!!