| Issue 47: | i18n language pack | |
| 24 people starred this issue and may be notified of changes. | Back to list |
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
Jun 28, 2009
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
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
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
(No comment was entered for this change.)
Summary:
i18n language pack
Labels: -Type-Defect Type-Enhancement
Dec 5, 2009
comment est-il possible de changer la colonne des horaires O1pm,02pm,03pm,...,12pm en 13,14,15,...,24
Dec 5, 2009
comment est-il possible de changer la colonne des horaires O1pm,02pm,03pm,...,12pm en 13,14,15,...,24
Dec 5, 2009
take a look at these docs: http://arshaw.com/fullcalendar/docs/#time-date-formatting
Jan 15, 2010
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
thank you florent! at some point i'll try to collect more languages an bundle them into a release.
May 3, 2010
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
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
thanks for all.
Jan 1, 2011
How to translate "All day" in the week and day's view ? Thanks for this great and usefull project!
Jan 7, 2011
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: " ◄ ",
next: " ► ",
prevYear: " << ",
nextYear: " >> ",
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
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
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: ' ◄ ',
next: ' ► ',
prevYear: ' << ',
nextYear: ' >> ',
today: 'hoje',
month: 'mês',
week: 'semana',
day: 'dia'
},
titleFormat: {
month: 'MMMM yyyy',
week: "d [ yyyy]{ '—'[ 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
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: ' ◄ ',
next: ' ► ',
prevYear: ' << ',
nextYear: ' >> ',
today: 'dzisiaj',
month: 'miesiąc',
week: 'tydzień',
day: 'dzień'},
allDayText: 'cały dzień'
Apr 7, 2011
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
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
Hi bnicola To translate "all-day" allDayText:"tous-les-jours",//french translation Have a good day.
Jul 6, 2011
I've wrote a little patch to add I18n using $.datepicker: https://github.com/arshaw/fullcalendar/pull/28
Jul 19, 2011
Issue 1037 has been merged into this issue.
Oct 4, 2011
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
I like the idea of using jQuery Globalize - any plans or idea on how to do that?
Jul 7, 2012
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
Yeah, using same globalization as datepicker would be great. Otherwise just expose setDefaults, please.
Nov 12, 2012
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: ' ◄ ',
next: ' ► ',
prevYear: ' << ',
nextYear: ' >> ',
today: 'hoy',
month: 'mes',
week: 'semana',
day: 'dia'
},
titleFormat: {
month: 'MMMM yyyy',
week: "d [ yyyy]{ '—'[ 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
Please implement this.
Jan 18, 2013
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]{ '—' 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: ' ◄ ',
next: ' ► ',
prevYear: ' << ',
nextYear: ' >> ',
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
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ì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
buttonText: {
prev: "<span class='fc-text-arrow'>‹</span>",
next: "<span class='fc-text-arrow'>›</span>",
prevYear: "<span class='fc-text-arrow'>«</span>",
nextYear: "<span class='fc-text-arrow'>»</span>",
today: 'oggi',
month: 'mese',
week: 'settimana',
day: 'giorno'
},
Jul 23, 2013
Traditional Chinese Version:
{
buttonText: {
today: '今天',
month: '月',
week: '週',
day: '日'
},
monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
monthNamesShort: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
dayNames: ['週日', '週一', '週二', '週三', '週四', '週五', '週六'],
dayNamesShort: ['日', '一', '二', '三', '四', '五', '六']
}
Aug 13, 2013
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
Issue 1159 has been merged into this issue.
Aug 15, 2013
Issue 1291 has been merged into this issue.
Aug 15, 2013
Issue 1394 has been merged into this issue.
Aug 18, 2013
Issue 1530 has been merged into this issue.
Aug 24, 2013
Issue 1765 has been merged into this issue.
Aug 24, 2013
Issue 1815 has been merged into this issue.
Sep 1, 2013
(No comment was entered for this change.)
Labels:
milestone-date
Jan 16, 2014
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: ' ◄ ',
next: ' ► ',
prevYear: ' << ',
nextYear: ' >> ',
today: 'dnes',
month: 'měsíc',
week: 'týden',
day: 'den'
},
titleFormat: {
month: 'MMMM yyyy',
week: "d [ yyyy]{ '—'[ 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
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
(No comment was entered for this change.)
Status:
Implemented
Jun 2, 2014
version 2 has been released with this change. http://blog.arshaw.com/1/post/2014/06/fullcalendar-2-released.html
Status:
Released
|
|
| ► Sign in to add a comment |