Created
June 4, 2018 12:53
-
-
Save nosrednawall/289af11fe4b529b2c8728e574d2d4c6b to your computer and use it in GitHub Desktop.
locate pt_BR primefaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h:head> | |
<h:outputScript library="js" name="locale-primefaces.js"/> | |
</h:head> | |
<p:outputLabel value="Data Nascimento" for="dataNacimento" /> | |
<p:calendar id="dataNacimento" | |
value="#{seuBean.entidade.dataNascimento}" | |
showOn="button" | |
pattern="dd-MM-yyyy" | |
navigator="true" | |
locale="pt_BR" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PrimeFaces.locales['pt_BR'] = { | |
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 : 1, | |
isRTL : false, | |
showMonthAfterYear : false, | |
yearSuffix : '', | |
timeOnlyTitle : 'Só Horas', | |
timeText : 'Tempo', | |
hourText : 'Hora', | |
minuteText : 'Minuto', | |
secondText : 'Segundo', | |
currentText : 'Data Atual', | |
ampm : false, | |
month : 'Mês', | |
week : 'Semana', | |
day : 'Dia', | |
allDayText : 'Todo Dia' | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment