Issue 1291: Localization
Status:  Duplicate
Merged:  issue 47
Owner: ----
Closed:  Aug 2013
Reported by frank.gl...@gmail.com, Feb 13, 2012
Dear Adam,

I found today your great FullCaleander PlugIn. And I have a easy feature request and the solution, too.

if (navigator.userLanguage) {
 lang = navigator.userLanguage.substring(0,2).toLowerCase();
} else {
 lang = navigator.language.substring(0,2).toLowerCase();
}
 
default['en'] ={ monthNames: ['January','February','March','April','May','June','July','August','September','October','November','December'],
	monthNamesShort: ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],
	dayNames: ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],
	dayNamesShort: ['Sun','Mon','Tue','Wed','Thu','Fri','Sat']
}
/* language match */
$defaults = default[lang];

So it is very easy to translate. It is also possible to mix textual elements like above with the "old" defaults for all other things.

I hope you like my idea.
Greetings

Frank
Dec 17, 2012
#1 may...@gmail.com
It'd be very helpful if you can implement this please. 
Aug 15, 2013
Project Member #2 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 47