View Full Version : [3.3.0] Ext.calendar.* localization

21 Oct 2010, 1:31 AM
Since I couldn't find anyone done it, I gave it a shot:

Demo (http://extjs.co.jp/samples/js/calendar/) (Japanese)
ext-calendar-override.js (http://extjs.co.jp/samples/js/calendar/ext-calendar-override.js)
ext-calendar-locale-ja.js (http://extjs.co.jp/samples/js/calendar/ext-calendar-lang-ja.js)(UTF8, Japanese)
ext-calendar-locale-en.js (http://extjs.co.jp/samples/js/calendar/ext-calendar-lang-en.js)(For you to translate;))

You need to include both *-override.js and *-locale-[LANG].js files after Ext.calendar.* files.
Please note that I needed to override some of Ext.calendar.* classes to extract out texts and messages for localization. It means that above codes would only work for Ext.calendar.* classes shipped with Ext JS 3.3.0, and would break in future releases.

17 Dec 2010, 9:01 AM
Thank you guy!