Internationalization
I see the code still contains lines like obj.shortMonths=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
As far as I know there is no method or property to change these labels for other languages. This makes the grid very unilingual.
With v1 I replaced such code myself to something like obj.shortMonths=[MM_JANUARY,MM_FEBRUARY,MM_MARCH,MM_APRIL,MM_MAY,MM_JUNE,MM_JULY,MM_AUGUST,MM_SEPTEMBER,MM_OCTOBER,MM_NOVEMBER,MM_DECEMBER];
This way I can use a seperate language file (eg en.js for english or nl.js for dutch) which defines these variables like this :
var MM_JANUARY = "Jan";
var MM_FEBRUARY = "Feb";
var MM_MARCH = "Maa";
var MM_APRIL = "Apr";
var MM_MAY = "Mei";
var MM_JUNE = "Jun";
var MM_JULY = "Jul";
var MM_AUGUST = "Aug";
var MM_SEPTEMBER = "Sep";
var MM_OCTOBER = "Okt";
var MM_NOVEMBER = "Nov";
var MM_DECEMBER = "Dec";
Alex, might I suggest that v2 should include something like this too. Which technique you use is up to you of course, but I feel there should be a relative easy way to change the interface language of aw.js
Keep up the good work. I'm looking forward to the official release of version 2 !!!
As far as I know there is no method or property to change these labels for other languages. This makes the grid very unilingual.
With v1 I replaced such code myself to something like obj.shortMonths=[MM_JANUARY,MM_FEBRUARY,MM_MARCH,MM_APRIL,MM_MAY,MM_JUNE,MM_JULY,MM_AUGUST,MM_SEPTEMBER,MM_OCTOBER,MM_NOVEMBER,MM_DECEMBER];
This way I can use a seperate language file (eg en.js for english or nl.js for dutch) which defines these variables like this :
var MM_JANUARY = "Jan";
var MM_FEBRUARY = "Feb";
var MM_MARCH = "Maa";
var MM_APRIL = "Apr";
var MM_MAY = "Mei";
var MM_JUNE = "Jun";
var MM_JULY = "Jul";
var MM_AUGUST = "Aug";
var MM_SEPTEMBER = "Sep";
var MM_OCTOBER = "Okt";
var MM_NOVEMBER = "Nov";
var MM_DECEMBER = "Dec";
Alex, might I suggest that v2 should include something like this too. Which technique you use is up to you of course, but I feel there should be a relative easy way to change the interface language of aw.js
Keep up the good work. I'm looking forward to the official release of version 2 !!!
Roebie
October 26,