PrimeFaces Takvim’in Farklı Ülkelere Göre Dil Değişimi
PrimeFaces kullanarak bir takvim kullanmak isterseniz default olarak dili ingilizce. Kullanıcılarınız farklı bir dil kullanıyor ise o dilde bir gösterim yapmamız gerekmekte. PrimeFaces‘in takviminde tüm dilleri destekleyen bir attirbutesi maalesef yok ancak çözümü var.
Primefaces <p:calendar/> istediğiniz dilde yapmak için yapmamız gereken bulunması gereken sayfada <script> tagları içerisinde aşağıda yer alan dil listesinden istediğini seçip bu taglar arasına yapıştıracaksınız. Sonrasında ise locale attributesini kullanarak istediğiniz dili eklemek yeterli olacaktır.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"> <h:head> <title>Burak Kutbay Blog</title> </h:head> <script type="text/javascript"> PrimeFaces.locales['tr'] = { closeText: 'kapat', prevText: 'geri', nextText: 'ileri', currentText: 'bugün', monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran','Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'], monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz', 'Tem','Ağu','Eyl','Eki','Kas','Ara'], dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'], dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], weekHeader: 'Hf', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix: '', timeOnlyTitle: 'Zaman Seçiniz', timeText: 'Zaman', hourText: 'Saat', minuteText: 'Dakika', secondText: 'Saniye', ampm: false, month: 'Ay', week: 'Hafta', day: 'Gün', allDayText : 'Tüm Gün' }; </script> <h:body> <h2>Türkçe Primefaces Türkçe Takvim</h2> <h:form> <p:outputlabel value="Tarih"/> <p:calendar locale="tr" /> </h:form> </h:body> </html>
Eğer Türkçe dilinde bir takvim istersek yukarıdaki örnek yeterlidir. Diğer dillerde istiyorsanız <script> tagları arasında aşağıdan ilgili dili seçmeniz ve yapıştırdıktan sonra <p:calendar locale /> attirbutesini değiştirmek yeterlidir.
PrimeFaces.locales['pt'] = { closeText: 'Fechar', prevText: 'Anterior', nextText: 'Próximo', currentText: 'Começo', 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'], dayNamesMin: ['D','S','T','Q','Q','S','S'], weekHeader: 'Semana', firstDay: 0, isRTL: false, showMonthAfterYear: false, yearSuffix: '', timeOnlyTitle: 'Só Horas', timeText: 'Tempo', hourText: 'Hora', minuteText: 'Minuto', secondText: 'Segundo', ampm: false, month: 'Mês', week: 'Semana', day: 'Dia', allDayText : 'Todo o Dia' };
Catalan
PrimeFaces.locales['ca'] = { closeText: 'Tancar', prevText: 'Anterior', nextText: 'Següent', monthNames: ['Gener','Febrer', 'Març', 'Abril', 'Maig', 'Juny', 'Juliol', 'Agost', 'Setembre', 'Octubre', 'Novembre', 'Desembre'], monthNamesShort: ['Gen', 'Feb', 'Mar', 'Abr', 'Mai', 'Jun','Jul','Ago','Set','Oct','Nov','Des'], dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'], dayNamesShort: ['Dmg','Dl', 'Dmt', 'Dmc', 'Dj', 'Dv', 'Ds'], dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'], weekHeader: 'Setmana', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix: '', timeOnlyTitle: 'Només hora', timeText: 'Temps', hourText: 'Hora', minuteText: 'Minut', secondText: 'Segon', currentText: 'Data actual', ampm: false, month: 'Mes', week: 'Setmana', day: 'Dia', allDayText : 'Tot el dia' };
Czech
PrimeFaces.locales ['cs_CZ'] = { closeText: 'Zavřít', prevText: 'Předchozí', nextText: 'Následující', monthNames: ['Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen', 'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec'], monthNamesShort: ['Led', 'Úno', 'Bře', 'Dub', 'Kvě', 'Čer', 'Čvc', 'Srp', 'Zář', 'Říj', 'Lis', 'Pro'], dayNames: ['Neděle', 'Pondělí', 'Úterý', 'Středa', 'Čtvrtek', 'Pátek', 'Sobota'], dayNamesShort: ['Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So'], dayNamesMin: ['Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So'], weekHeader: 'Týden', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix: '', timeOnlyTitle: 'Pouze čas', timeText: 'Čas', hourText: 'Hodina', minuteText: 'Minuta', secondText: 'Sekunda', currentText: 'Nyní', ampm: false, month: 'Měsíc', week: 'Týden', day: 'Den', allDayText: 'Celý den' };
Dutch
PrimeFaces.locales['nl'] = { closeText: 'Sluiten', prevText: 'Terug', nextText: 'Volgende', currentText: 'Huidig', monthNames: ['Januari', 'Februari', 'Maart', 'April', 'Mei', 'Juni', 'Juli', 'Augustus', 'September', 'Oktober', 'November', 'December' ], monthNamesShort: ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec' ], dayNames: ['Zondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag'], dayNamesShort: ['zo', 'ma', 'di', 'woe', 'do', 'vr', 'za'], dayNamesMin: ['Zo', 'Ma', 'Di', 'Wo ', 'Do', 'Vr ', 'Za'], weekHeader: 'Week', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix:'', timeOnlyTitle: 'Alleen tijd', timeText: 'Tijd', hourText: 'Uur', minuteText: 'Minuut', secondText: 'Seconde', ampm: false, month: 'Maand', week: 'week', day: 'Dag', allDayText: 'Alle Dagen' };
French
PrimeFaces.locales ['fr'] = { closeText: 'Fermer', prevText: 'Précédent', nextText: 'Suivant', monthNames: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre' ], monthNamesShort: ['Jan', 'Fév', 'Mar', 'Avr', 'Mai', 'Jun', 'Jul', 'Aoû', 'Sep', 'Oct', 'Nov', 'Déc' ], dayNames: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'], dayNamesShort: ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'], dayNamesMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'], weekHeader: 'Semaine', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix:'', timeOnlyTitle: 'Choisir l\'heure', timeText: 'Heure', hourText: 'Heures', minuteText: 'Minutes', secondText: 'Secondes', currentText: 'Maintenant', ampm: false, month: 'Mois', week: 'Semaine', day: 'Jour', allDayText: 'Toute la journée' };
German
PrimeFaces.locales ['de'] = { closeText: 'Schließen', prevText: 'Zurück', nextText: 'Weiter', 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: ['Son', 'Mon', 'Die', 'Mit', 'Don', 'Fre', 'Sam'], dayNamesMin: ['S', 'M', 'D', 'M ', 'D', 'F ', 'S'], weekHeader: 'Woche', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix:'', timeOnlyTitle: 'Nur Zeit', timeText: 'Zeit', hourText: 'Stunde', minuteText: 'Minute', secondText: 'Sekunde', currentText: 'Aktuelles Datum', ampm: false, month: 'Monat', week: 'Woche', day: 'Tag', allDayText: 'Ganzer Tag' };
Greek
PrimeFaces.locales['el'] = { closeText: 'Κλείσιμο', prevText: 'Προηγούμενο', nextText: 'Επόμενο', monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάϊος','Ιούνιος','Ιούλιος','Άυγουστος','Σεπτέμβιος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'], monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν', 'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'], dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'], dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'], dayNamesMin: ['Κ','Δ','Τρ','Τε','Πε','Πα','Σ'], weekHeader: 'Εβδ', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix: '', timeOnlyTitle: 'Επιλογή Ώρας', timeText: 'Χρόνος', hourText: 'Ώρα', minuteText: 'Λεπτό', secondText: 'Δεύτερολεπτο', currentText: 'Τώρα', ampm: false, month: 'Μήνας', week: 'Εβδομάδα', day: 'Μέρα', allDayText : 'Όλη Μέρα' };
Hebrew
PrimeFaces.locales ['he'] = { closeText: 'סגור', prevText: 'הקודם', nextText: 'הבא', monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], monthNamesShort: ['1','2','3','4','5','6', '7','8','9','10','11','12'], dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], weekHeader: 'שבוע', firstDay: 0, isRTL: true, showMonthAfterYear: false, yearSuffix: '', timeOnlyTitle: 'זמן בלבד', timeText: 'זמן', hourText: 'שעה', minuteText: 'דקה', secondText: 'שניה', currentText: 'היום', ampm: false, month: 'חודש', week: 'שבוע', day: 'יום', allDayText: 'כל היום' };
Hungarian
PrimeFaces.locales['hu']= { closeText: 'Bezárás', prevText: 'Előző', nextText: 'Következő', monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június', 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December' ], monthNamesShort: ['Jan', 'Febr', 'Márc', 'Ápr', 'Máj', 'Jún', 'Júl', 'Aug', 'Szept', 'Okt', 'Nov', 'Dec'], dayNames: ['Vasárnap', 'Hétfő', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'], dayNamesShort: ['Vas', 'H', 'K', 'Sze', 'Csüt', 'P', 'Szo'], dayNamesMin: ['V', 'H', 'K', 'Sze ', 'Cs', 'P ', 'Szo'], weekHeader: 'Hét', firstDay: 1, isRTL: false, showMonthAfterYear: true, yearSuffix:'.', timeOnlyTitle: 'Csak óra', timeText: 'Időpont', hourText: 'Óra', minuteText: 'Perc', secondText: 'Másodperc', currentText: 'Ma', ampm: false, month: 'Hónap', week: 'Hét', day: 'Nap', allDayText: 'Egész nap' };
Italian
PrimeFaces.locales ['it'] = { closeText: 'Chiudi', prevText: 'Precedente', nextText: 'Prossimo', 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'], dayNamesMin: ['D', 'L', 'M', 'M ', 'G', 'V ', 'S'], weekHeader: 'Sett', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix:'', timeOnlyTitle: 'Solo Tempo', timeText: 'Ora', hourText: 'Ore', minuteText: 'Minuto', secondText: 'Secondo', currentText: 'Data Odierna', ampm: false, month: 'Mese', week: 'Settimana', day: 'Giorno', allDayText: 'Tutto il Giorno' };
Latvian
PrimeFaces.locales['lv'] = { closeText: 'Aizvērt', prevText: 'Iepriekšējais', nextText: 'Nākošais', monthNames: ['Janvāris', 'Februāris', 'Marts', 'Aprīlis', 'Maijs', 'Jūnijs', 'Jūlijs', 'Augusts', 'Septembris', 'Oktobris', 'Novembris', 'Decembris' ], monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jūn', 'Jūl', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec' ], dayNames: ['Svētdiena', 'Pirmdiena', 'Otrdiena', 'Trešdiena', 'Ceturtdiena', 'Piektdiena', 'Sestdiena'], dayNamesShort: ['Svē', 'Pirm', 'Otr', 'Tre', 'Cet', 'Pie', 'Ses'], dayNamesMin: ['Sv', 'P', 'O', 'T ', 'C', 'P ', 'S'], weekHeader: 'Nedēļa', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix:'', timeOnlyTitle: 'Tikai Laiks', timeText: 'Laiks', hourText: 'Stunda', minuteText: 'Minūte', secondText: 'Sekunde', currentText: 'Šodiena', ampm: false, month: 'Mēnesis', week: 'nedēļa', day: 'Diena', allDayText: 'Visa Diena' };
Polish
PrimeFaces.locales['pl'] = { closeText: 'Zamknij', prevText: 'Poprzedni', nextText: 'Następny', 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: ['Nie','Pon','Wt','Śr','Czw','Pt','So'], dayNamesMin: ['N','P','W','Ś','Cz','P','S'], weekHeader: 'Tydzień', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix: 'r', timeOnlyTitle: 'Tylko czas', timeText: 'Czas', hourText: 'Godzina', minuteText: 'Minuta', secondText: 'Sekunda', currentText: 'Teraz', ampm: false, month: 'Miesiąc', week: 'Tydzień', day: 'Dzień', allDayText : 'Cały dzień' };
Romanian
PrimeFaces.locales ['ro'] = { closeText: 'Închide', prevText: 'Înapoi', nextText: 'Înainte', currentText: 'Acasă', monthNames: ['Ianuarie', 'Februarie', 'Martie', 'Aprilie', 'Mai', 'Iunie', 'Iulie', 'August', 'Septembrie', 'Octombrie', 'Noiembrie', 'Decembrie' ], monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun', 'Iul', 'Aug', 'Sep', 'Oct', 'Noi', 'Dec' ], dayNames: ['Duminică', 'Luni', 'Marți', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'], dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'], dayNamesMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'], weekHeader: 'Săptămâna', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix: '', timeOnlyTitle: 'Numai timp', timeText: 'Timp', hourText: 'Ora', minuteText: 'Minut', secondText: 'Secunde', ampm: false, month: 'Luna', week: 'Săptămâna', day: 'Zi', allDayText: 'Toată ziua' };
Russian
PrimeFaces.locales ['ru'] = { closeText: 'Закрыть', prevText: 'Назад', nextText: 'Вперёд', monthNames: ['Январь', 'Февраль' , 'Март' , 'Апрель' , 'Май' , 'Июнь' , 'Июль' , 'Август' , 'Сентябрь','Октябрь','Ноябрь','Декабрь' ], monthNamesShort: ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек' ], dayNames: ['Воскресенье', 'Понедельник', 'Вторник', 'Среда', 'Четверг', 'Пятница', 'Субота'], dayNamesShort: ['Воск','Пон' , 'Вт' , 'Ср' , 'Четв' , 'Пят' , 'Суб'], dayNamesMin: ['В', 'П', 'Вт', 'С ', 'Ч', 'П ', 'Сб'], weekHeader: 'Неделя', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix:'', timeOnlyTitle: 'Только время', timeText: 'Время', hourText: 'Час', minuteText: 'Минута', secondText: 'Секунда', currentText: 'Сегодня', ampm: false, month: 'Месяц', week: 'неделя', day: 'День', allDayText: 'Весь день' };
Serbian
PrimeFaces.locales ['sr'] = { closeText: 'Zatvori', prevText: 'Nazad', nextText: 'Napred', monthNames: ['Januar', 'Februar', 'Mart', 'April', 'Maj', 'Juni', 'Juli', 'Avgust', 'Septembar', 'Oktobar', 'Novembar', 'Decembar' ], monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec' ], dayNames: ['Nedelja', 'Ponedeljak', 'Utorak', 'Sreda', 'Četvrtak', 'Petak', 'Subota'], dayNamesShort: ['Ned', 'Pon', 'Uto', 'Sre', 'Čet', 'Pet', 'Sub'], dayNamesMin: ['N', 'P', 'U', 'S ', 'Č', 'P ', 'S'], weekHeader: 'Sedmica', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix:'', timeOnlyTitle: 'Samo Vreme', timeText: 'Vreme', hourText: 'Sat', minuteText: 'Minuta', secondText: 'Sekunda', currentText: 'Danas', ampm: false, month: 'Mesec', week: 'sedmica', day: 'Dan', allDayText: 'Celi Dan' };
Simplified Chinese
PrimeFaces.locales['zh_CN'] = { closeText: '关闭', prevText: '上个月', nextText: '下个月', currentText: '今天', monthNames: ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'], monthNamesShort: ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'], dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], dayNamesShort: ['日','一','二','三','四','五','六'], dayNamesMin: ['日','一','二','三','四','五','六'], weekHeader: '周', firstDay: 1, isRTL: false, showMonthAfterYear: true, yearSuffix: '', // 年 timeOnlyTitle: '仅时间', timeText: '时间', hourText: '时', minuteText: '分', secondText: '秒', ampm: false, month: '月', week: '周', day: '日', allDayText : '全天' };
Slovak
PrimeFaces.locales ['sk'] = { closeText: 'Zavrieť', prevText: 'Predošlý', nextText: 'Nasledujúci', monthNames: ['Január', 'Február', 'Marec', 'Apríl', 'Máj', 'Jún', 'Júl', 'August', 'September', 'Október', 'November', 'December'], monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Máj', 'Jún', 'Júl', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'], dayNames: ['Nedeľa', 'Pondelok', 'Utorok', 'Streda', 'Štvrtok', 'Piatok', 'Sobota'], dayNamesShort: ['Ne', 'Po', 'Ut', 'St', 'Št', 'Pi', 'So'], dayNamesMin: ['Ne', 'Po', 'Ut', 'St', 'Št', 'Pi', 'So'], weekHeader: 'Týždeň', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix: '', timeOnlyTitle: 'Len čas', timeText: 'Čas', hourText: 'Hodina', minuteText: 'Minúta', secondText: 'Sekunda', currentText: 'Teraz', ampm: false, month: 'Mesiac', week: 'Týždeň', day: 'Deň', allDayText: 'Celý deň' };
Slovenian
PrimeFaces.locales ['sl'] = { closeText: 'Zapri', prevText: 'Nazaj', nextText: 'Naprej', monthNames : ['Januar', 'Februar', 'Marec', 'April', 'Maj', 'Junij', 'Julij', 'Avgust', 'September', 'Oktober', 'November', 'December'], monthNamesShort : ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec'], dayNames : ['Nedelja', 'Ponedeljek', 'Torek', 'Sreda', '\u010Cetrtek', 'Petek', 'Sobota'], dayNamesShort : ['Ned', 'Pon', 'Tor', 'Sre', '\u010Cet', 'Pet', 'Sob'], dayNamesMin: ['N', 'P', 'T', 'S', '\u010C', 'P ', 'S'], weekHeader: 'Teden', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix:'', timeOnlyTitle: 'Samo \u010Das', timeText: '\u010Cas', hourText: '\u010Cas', minuteText: 'Minute', secondText: 'Sekunde', currentText: 'danes', ampm: false, month: 'mesec', week: 'teden', day: 'dan', allDayText: 'Cel dan' };
Spanish
PrimeFaces.locales['es'] = { closeText: 'Cerrar', prevText: 'Anterior', nextText: 'Siguiente', 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','Sábado'], dayNamesShort: ['Dom','Lun', 'Mar', 'Mie', 'Jue', 'Vie', 'Sab'], dayNamesMin: ['D','L','M','X','J','V','S'], weekHeader: 'Semana', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix: '', timeOnlyTitle: 'Sólo hora', timeText: 'Tiempo', hourText: 'Hora', minuteText: 'Minuto', secondText: 'Segundo', currentText: 'Fecha actual', ampm: false, month: 'Mes', week: 'Semana', day: 'Día', allDayText : 'Todo el día' };
Swedish
PrimeFaces.locales ['sv_SE'] = { closeText: 'Stäng', prevText: 'Föregående', nextText: 'Nästa',{code} monthNames: ['januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', 'oktober', 'november', 'december' ], monthNamesShort: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec' ], dayNames: ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag'], dayNamesShort: ['sön', 'mån', 'tis', 'ons', 'tor', 'fre', 'lör'], dayNamesMin: ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'], weekHeader: 'Vecka', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix:'', timeOnlyTitle: 'Endast tid', timeText: 'Tid', hourText: 'timmar', minuteText: 'minuter', secondText: 'sekunder', currentText: 'Nuvarande datum', ampm: false, month: 'månad', week: 'vecka', day: 'dag', allDayText: 'Hela dagen' };
Traditional Chinese
PrimeFaces.locales['zh_TW'] = { closeText: '關閉', prevText: '上個月', nextText: '下個月', currentText: '今天', monthNames: ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'], monthNamesShort: ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'], dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], dayNamesShort: ['日','一','二','三','四','五','六'], dayNamesMin: ['日','一','二','三','四','五','六'], weekHeader: '周', firstDay: 1, isRTL: false, showMonthAfterYear: true, yearSuffix: '', // 年 timeOnlyTitle: '僅時間', timeText: '時間', hourText: '時', minuteText: '分', secondText: '秒', ampm: false, month: '月', week: '周', day: '日', allDayText : '全天' };
Vietnamese
PrimeFaces.locales['vi'] = { closeText: 'Tắt', prevText: 'Tháng trước', nextText: 'Tháng sau', monthNames: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6', 'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'], monthNamesShort: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6', 'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12' ], dayNames: ['Chúa Nhựt', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'], dayNamesShort: ['CN', 'Hai', 'Ba', 'Tư', 'Năm', 'Sáu', 'Bảy'], dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], weekHeader: 'Tuần', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix:'', timeOnlyTitle: 'Chọn giờ', timeText: 'Giờ', hourText: 'Giờ', minuteText: 'Phút', secondText: 'Giây', currentText: 'Giờ hiện hành', ampm: false, month: 'Tháng', week: 'Tuần', day: 'Ngày', allDayText: 'Cả ngày' };
No Comment! Be the first one.