Skip to main content

Search and Top Navigation

#6102 closed enhancement (fixed)

Opened September 23, 2010 03:42PM UTC

Closed September 24, 2010 12:59PM UTC

Last modified October 20, 2012 12:00AM UTC

Datepicker: Add Portuguese localization

Reported by: cim Owned by:
Priority: minor Milestone: 1.8.6
Component: ui.datepicker Version: 1.8.5
Keywords: Portuguese initialisation Cc:
Blocked by: Blocking:

There doesn't seem to be a Portuguese (as opposed to Portuguese-Brazilian) initialisation for datepicker. I would like to contribute the following code:

/* Portuguese initialisation for the jQuery UI date picker plugin. */
/* Based on the Brazilian initialisation */
	$.datepicker.regional['pt'] = {
		closeText: 'Fechar',
		prevText: '<Anterior',
		nextText: 'Seguinte',
		currentText: 'Hoje',
		monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho',
		monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
		dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'],
		dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
		dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
		weekHeader: 'Sem',
		dateFormat: 'dd/mm/yy',
		firstDay: 0,
		isRTL: false,
		showMonthAfterYear: false,
		yearSuffix: ''};
Attachments (0)
Change History (4)

Changed September 24, 2010 12:59PM UTC by scottgonzalez comment:1

milestone: TBD1.9
resolution: → fixed
status: newclosed
summary: Portuguese initialisation for datepickerDatepicker: Add Portuguese localization

Fixed in 23b569f.

Changed October 25, 2010 06:58PM UTC by scottgonzalez comment:2


Changed November 19, 2010 06:26PM UTC by Scott González comment:3

Datepicker: Added Portuguese localization. Fixes #6102 - Datepicker: Add Portuguese localization.

Changeset: 23b569f46ec7472d4baec7486d27ddbe5aaa8518

Changed October 20, 2012 12:00AM UTC by scottgonzalez comment:4

#7979 is a duplicate of this ticket.