Issue 47: i18n language pack
Status:  Released
Owner: ----
Closed:  Jun 2014
Reported by gle...@gmail.com, Jun 26, 2009
The button today should be translatable.

Also it would be interesting to use the same translations as the date picker.
Thats what I do :
$.fullCalendar.monthNames = $.datepicker.regional['en']['monthNames'];

Jun 28, 2009
#1 tom9...@gmail.com
i saw glenza's report.

i really interest what glenza's report.
is it possible?

if it is possible, i want to know how to call the function $.fullCalendar.monthNames 
from datapicker?

i'm pool in english. 
i appreciate for reading my note
Jun 28, 2009
Project Member #2 adamrs...@gmail.com
glenza, there is a way to change the today button's text. do something like this:

   $('#calendar').fullCalendar({
      buttons: { today: "yourtodaytext" }
   });

look at the 'buttons' option for more info.

however, i do believe the API could be improved for internationalization. in a future
release, fullcalendar should mirror datepicker's API, using external js files to
change language
Status: Accepted
Jun 28, 2009
#3 tom9...@gmail.com
i always appreciate your kind answers.

i have one question. 
for example, is it possible that call fullCalendar function from exernal, like 
today, prev buttons.

	$(function(){
		$('#vstar')
			.bind('click',function(event) {
				gotoToday();
		  })
	});

	$('#calendar').fullCalendar({
		~
	});

	~
	<img id="vstar" src="vstar.jpg"/>




Jun 28, 2009
Project Member #4 adamrs...@gmail.com
i think you'd want to do something like this:

   $('#calendar').fullCalendar({
      // options
   });

   $('#vstar').click(function() {
      $('#calendar').fullCalendar('today');
   });

more info here: http://arshaw.com/fullcalendar/docs/#navigation-methods
Jun 29, 2009
Project Member #5 adamrs...@gmail.com
(No comment was entered for this change.)
Summary: i18n language pack
Labels: -Type-Defect Type-Enhancement
Dec 5, 2009
#6 ferdinand.amoi@gmail.com
comment est-il possible de changer la colonne des horaires O1pm,02pm,03pm,...,12pm en 
13,14,15,...,24
Dec 5, 2009
#7 ferdinand.amoi@gmail.com
comment est-il possible de changer la colonne des horaires O1pm,02pm,03pm,...,12pm en 
13,14,15,...,24
Dec 5, 2009
Project Member #8 adamrs...@gmail.com
take a look at these docs:
http://arshaw.com/fullcalendar/docs/#time-date-formatting
Jan 15, 2010
#11 florent....@gmail.com
Hi,

here is a proposal for french langage (depend on your needs) :

[...]
monthNames:
['Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Août','Septembre','Octobr
e','Novembre','Décembre'],
monthNamesShort:
['janv.','févr.','mars','avr.','mai','juin','juil.','août','sept.','oct.','nov.','déc
.'],
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
dayNamesShort: ['Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam', 'Dim'],
titleFormat: {
 	month: 'MMMM yyyy', // ex : Janvier 2010
 	week: "d[ MMMM][ yyyy]{ - d MMMM yyyy}", // ex : 10 — 16 Janvier 2010, 
semaine à cheval : 28 Décembre 2009 - 3 Janvier 2010
	// todo : ajouter le numéro de la semaine
 	day: 'dddd d MMMM yyyy' // ex : Jeudi 14 Janvier 2010
},
columnFormat: {
 	month: 'ddd', // Ven.
 	week: 'ddd d', // Ven. 15
	day: '' // affichage déja complet au niveau du 'titleFormat'
},
axisFormat: 'H:mm', // la demande de ferdinand.amoi : 15:00 (pour 15, simplement
supprimer le ':mm'
timeFormat: {
	'': 'H:mm', // événements vue mensuelle.
	agenda: 'H:mm{ - H:mm}' // événements vue agenda
},
firstDay:0, // Lundi premier jour de la semaine 
[...]
Jan 19, 2010
Project Member #12 adamrs...@gmail.com
thank you florent!
at some point i'll try to collect more languages an bundle them into a release.
May 3, 2010
#13 antoin...@gmail.com
Hi,

just to say that there is mistakes =>
dayNamesShort: ['Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam', 'Dim'],

must be
dayNamesShort: ['Dim','Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'],

and 
firstDay:0, // Lundi premier jour de la semaine

->

firstDay:1, // Lundi premier jour de la semaine
May 3, 2010
#14 antoin...@gmail.com
and last thing to add, for the translation of the buttons : 

        buttonText: {
            today: 'aujourd\'hui',
            day: 'jour',
            week:'semaine',
            month:'mois'
        },

(sry to double post, i forget it ^^')
Aug 14, 2010
#16 bonnet...@gmail.com
thanks for all.
Jan 1, 2011
#17 bnicola...@gmail.com
How to translate "All day" in the week and day's view ? Thanks for this great and usefull project!
Jan 7, 2011
#18 gtschm...@gmx.de
Hi Adam,

these are the settings for Germany:

titleFormat: {
  month: "MMMM yyyy",
  week: "d.[ MMMM][ yyyy]{ - d. MMMM yyyy}",
  day: "dddd, d.MMMM yyyy"},
columnFormat: {
  month: "ddd",
  week: "ddd d.M.",
  day: "dddd d.M."},
timeFormat: {"":"h(:mm)t"},
isRTL: false,
firstDay: 1,
monthNames: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],
monthNamesShort: ["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],
dayNames: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],
dayNamesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"],
buttonText: {
  prev: "&nbsp;&#9668;&nbsp;",
  next: "&nbsp;&#9658;&nbsp;",
  prevYear: "&nbsp;&lt;&lt;&nbsp;",
  nextYear: "&nbsp;&gt;&gt;&nbsp;",
  today: "heute",
  month: "Monat",
  week: "Woche",
  day: "Tag"},

[...]

allDayText: "ganztägig",

[...]

Ca=["So","Mo","Di","Mi","Do","Fr","Sa"],

[...]

Ha(a,"dd.MM.yyyy'T'HH:mm:ss'Z'")},

Jan 26, 2011
#19 ton.anh...@gmail.com
Hi,
I've read a bunch of localization/internationalization threads and topics for fullcalendar, but I'm still confused.

So far, I've gathered that to have fullcalendar be displayed in a different language, I would have to set all of those settings in the code and save it.

Is there not a way to have it load a specific set of settings programmatically? The reason being is my web application is already set to change text to a specific language depending on the ?locale= parameter. And I have a feeling that I wouldn't be able to have two sets of settings for languages (English and Chinese) to load on the fly when the locale parameter is changed.

Thanks!
Feb 11, 2011
#20 glermgo...@gmail.com
hi,

these are the settings for Portuguese-Brazil:

		monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
		monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez'],
		dayNames: ['Domingo','Segunda','Terça','Quarta','Quinta','Sexta','Sábado'],
		dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
		buttonText: {
			prev: '&nbsp;&#9668;&nbsp;',
			next: '&nbsp;&#9658;&nbsp;',
			prevYear: '&nbsp;&lt;&lt;&nbsp;',
			nextYear: '&nbsp;&gt;&gt;&nbsp;',
			today: 'hoje',
			month: 'mês',
			week: 'semana',
			day: 'dia'
		},		
		titleFormat: {
			month: 'MMMM yyyy',
			week: "d [ yyyy]{ '&#8212;'[ MMM] d MMM yyyy}",
			day: 'dddd, d MMM, yyyy'
		},
		columnFormat: {
			month: 'ddd',
			week: 'ddd d/M',
			day: 'dddd d/M'
		},
		allDayText: 'dia todo',
		axisFormat: 'H:mm',
		timeFormat: {
			'': 'H(:mm)',
			agenda: 'H:mm{ - H:mm}'
		},
Feb 25, 2011
#21 matrix.d...@gmail.com
Hello, I'm glad I can help you with pl-PL (Polish) locale settings :)

                //polish locale
                timeFormat: {
                    agenda: 'H:mm{ - H:mm}',
                    '': 'H:mm'
                },
                axisFormat: 'H:mm',
                firstDay: 1,
                monthNames: ['styczeń','luty','marzec','kwiecień','maj','czerwiec','lipiec','sierpień','wrzesień','październik','listopad','grudzień'],
                monthNamesShort: ['sty.','lut.','mar.','kwi.','maj','cze.','lip.','sie.','wrz.','paź.','lis.','gru.'],
                dayNames: ['niedziela','poniedziałek','wtorek','środa','czwartek','piątek','sobota'],
                dayNamesShort: ['niedz.','pon.','wt.','śr.','czw.','pt.','sob.'],
                buttonText: {
                prev: '&nbsp;&#9668;&nbsp;',
                next: '&nbsp;&#9658;&nbsp;',
                prevYear: '&nbsp;&lt;&lt;&nbsp;',
                nextYear: '&nbsp;&gt;&gt;&nbsp;',
                today: 'dzisiaj',
                month: 'miesiąc',
                week: 'tydzień',
                day: 'dzień'},
                allDayText: 'cały dzień' 
Apr 7, 2011
#22 mic...@hitka.sk
Even if there are no bundled localizations, at least a way to change the default options would be useful as a first step. 

If you would expose the setDefaults() function to be accessible from $.fullCalendar, it would be easy to ship separate localizations and change the localizatino used by all subsequent uses by calling e.g. '$.fullCalendar.setDefaults(custom_localization)' as it is possible with e.g. datepicker in jQuery UI (see http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/)
Apr 21, 2011
#23 bouchen...@gmail.com
What's the status of this
Why this is not working anymore
$.fullCalendar.monthNames
it is to be very helpfull to use globalization
May 9, 2011
#24 amys9...@gmail.com
Hi bnicola
To translate "all-day"

allDayText:"tous-les-jours",//french translation

Have a good day.
Jul 6, 2011
#25 udalov.s...@gmail.com
I've wrote a little patch to add I18n using $.datepicker:
https://github.com/arshaw/fullcalendar/pull/28
Jul 19, 2011
Project Member #26 adamrs...@gmail.com
 Issue 1037  has been merged into this issue.
Oct 4, 2011
#27 thieu...@hotmail.com
Would be nice to re-use what has already been done in Jquery Globalize : https://github.com/jquery/globalize and make it an optional dependency, instead of creating new definitions for the same data. It would leave only a few string to translate.
Jan 18, 2012
#28 nash...@gmail.com
I like the idea of using jQuery Globalize - any plans or idea on how to do that?
Jul 7, 2012
#29 paul.bo...@gmail.com
Hello,

I have a problem : I I do this :

$.fullCalendar.setDefaults({
	buttonText: {
		month: 'mois',
		week: 'semaine',
		day: 'jour'
	},
	allDayText: 'tous-les-jours'
});


It tell me that setDefaults not exists.

Thanks for help.
Sep 21, 2012
#30 mih...@gmail.com
Yeah, using same globalization as datepicker would be great. Otherwise just expose setDefaults, please.
Nov 12, 2012
#31 hans...@gmail.com
Traducción al español:

		monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
		monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic'],
		dayNames: ['Lunes','Martes','Miércoles','Jueves','Viernes','Sabado','Domingo'],
		dayNamesShort: ['Lun','Mar','Mié','Jue','Vie','Sab','Dom'],
		buttonText: {
			prev: '&nbsp;&#9668;&nbsp;',
			next: '&nbsp;&#9658;&nbsp;',
			prevYear: '&nbsp;&lt;&lt;&nbsp;',
			nextYear: '&nbsp;&gt;&gt;&nbsp;', 
			today: 'hoy',
			month: 'mes',
			week: 'semana',
			day: 'dia'
		},		
		titleFormat: {
			month: 'MMMM yyyy',
			week: "d [ yyyy]{ '&#8212;'[ MMM] d MMM yyyy}",
			day: 'dddd, d MMM, yyyy'
		},
		columnFormat: {
			month: 'ddd',
			week: 'ddd d/M',
			day: 'dddd d/M'
		},
		allDayText: 'dia todo',
		axisFormat: 'H:mm',
		timeFormat: {
			'': 'H(:mm)',
			agenda: 'H:mm{ - H:mm}'
		},

Dec 17, 2012
#32 may...@gmail.com
Please implement this. 
Jan 18, 2013
#34 pni...@gmail.com
mientras no se implementa esta funcionalidad podeis poner 'fc.setDefaults = setDefaulst;' justo después de la función setDefaults:
while not implemented this functionality you can put 'fc.setDefaults = setDefaulst;' right after setDefaults function:

[...]
// function for adding/overriding defaults
function setDefaults(d) {
	$.extend(true, defaults, d);
}
fc.setDefaults = setDefaults;
[...]

Luego ya podéis crear traducciones en otros archivos:
Then you can create and translations into other files:

//fullcalendar.es.js
$.fullCalendar.setDefaults({
    allDayText: 'Todo el dia',
    axisFormat: 'H:mm',
	titleFormat: {
		month: 'MMMM yyyy',
		week: "d[ MMM][ yyyy]{ '&#8212;' d MMM yyyy}",
		day: 'dddd, d MMM yyyy'
	},
	columnFormat: {
		month: 'ddd',
		week: 'ddd d/M',
		day: 'dddd d/M'
	},
	timeFormat: {
		'': 'H(:mm)',
		agenda: 'H:mm{ - H:mm}'
	},
	firstDay: 1,
    monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
	monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic'],
	dayNames: ['Domingo','Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sabado'],
    dayNamesShort: ['Dom', 'Lun', 'Mar', 'Mié', 'Jue', 'Vie', 'Sab' ],
	buttonText: {
		prev: '&nbsp;&#9668;&nbsp;',
		next: '&nbsp;&#9658;&nbsp;',
		prevYear: '&nbsp;&lt;&lt;&nbsp;',
		nextYear: '&nbsp;&gt;&gt;&nbsp;',
		today: 'hoy',
		month: 'mes',
		week: 'semana',
		day: 'dia'
	}
});

Probado en la versión 1.5.4.
Tested with version 1.5.4
May 25, 2013
#35 coora...@gmail.com
Italian version:
 monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno','Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
                    monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu','Lug','Ago','Set','Ott','Nov','Dic'],
                    dayNames: ['Domenica','Luned&#236','Marted&#236','Mercoled&#236','Gioved&#236','Venerd&#236','Sabato'],
                    dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
                    buttonText: {
                        prev: "<span class='fc-text-arrow'>&lsaquo;</span>",
                        next: "<span class='fc-text-arrow'>&rsaquo;</span>",
                        prevYear: "<span class='fc-text-arrow'>&laquo;</span>",
                        nextYear: "<span class='fc-text-arrow'>&raquo;</span>",
                        today: 'oggi',
                        month: 'mese',
                        week: 'settimana',
                        day: 'giorno'
                    },
Jul 23, 2013
#36 tonytony...@gmail.com
Traditional Chinese Version:
{
  buttonText: {
    today: '今天',
    month: '月',
    week: '週',
    day: '日'
  },
  monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
  monthNamesShort: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
  dayNames: ['週日', '週一', '週二', '週三', '週四', '週五', '週六'],
  dayNamesShort: ['日', '一', '二', '三', '四', '五', '六']
}
Aug 13, 2013
Project Member #37 adamrs...@gmail.com
This problem will likely be solved when MomentJS is introduced to the project.
http://momentjs.com/

It's just a matter of time.
Labels: -Type-Enhancement -Priority-Medium Type-Feature
Aug 13, 2013
Project Member #38 adamrs...@gmail.com
 Issue 1159  has been merged into this issue.
Aug 15, 2013
Project Member #39 adamrs...@gmail.com
 Issue 1291  has been merged into this issue.
Aug 15, 2013
Project Member #40 adamrs...@gmail.com
 Issue 1394  has been merged into this issue.
Aug 18, 2013
Project Member #41 adamrs...@gmail.com
 Issue 1530  has been merged into this issue.
Aug 24, 2013
Project Member #42 adamrs...@gmail.com
 Issue 1765  has been merged into this issue.
Aug 24, 2013
Project Member #43 adamrs...@gmail.com
 Issue 1815  has been merged into this issue.
Sep 1, 2013
Project Member #44 adamrs...@gmail.com
(No comment was entered for this change.)
Labels: milestone-date
Jan 16, 2014
#45 jan.vona...@gmail.com
Czech
monthNames: ['Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen', 'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec'],
        monthNamesShort: ['Led', 'Úno', 'Bře', 'Dub', 'Kvě', 'Čvn', 'Čvc', 'Srp', 'Zář', 'Říj', 'Lis', 'Pro'],
        dayNames: ['Pondělí', 'Úterý', 'Středa', 'Čtvrtek', 'Pátek', 'Sobota', 'Neděle'],
        dayNamesShort: ['Po', 'Út', 'St', 'Čt', 'Pá', 'So', 'Ne'],
        buttonText: {
            prev: '&nbsp;&#9668;&nbsp;',
            next: '&nbsp;&#9658;&nbsp;',
            prevYear: '&nbsp;&lt;&lt;&nbsp;',
            nextYear: '&nbsp;&gt;&gt;&nbsp;',
            today: 'dnes',
            month: 'měsíc',
            week: 'týden',
            day: 'den'
        },
        titleFormat: {
            month: 'MMMM yyyy',
            week: "d [ yyyy]{ '&#8212;'[ MMMM] d MMMM yyyy}",
            day: 'dddd, d MMMM, yyyy'
        },
        columnFormat: {
            month: 'ddd',
            week: 'ddd d.M.',
            day: 'dddd d.M.'
        },
        allDayText: 'celý den',
        axisFormat: 'H:mm',
        timeFormat: {
            '': 'H(:mm)',
            agenda: 'H:mm{ - H:mm}'
        }
Jan 25, 2014
Project Member #46 adamrs...@gmail.com
just released v2.0.0-beta, which has a i18n system:
http://arshaw.com/fullcalendar/docs2/text/lang/

please check it out.

comes with 38 regions built-in

TODO: an article about how to modify/contribute translations.

May 25, 2014
Project Member #47 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Implemented
Jun 2, 2014
Project Member #48 adamrs...@gmail.com
version 2 has been released with this change.
http://blog.arshaw.com/1/post/2014/06/fullcalendar-2-released.html
Status: Released