Hi Guys,
At the moment, there is an issue on the DatePicker, introduced as a side effect of the Accessibility improvements done recently. So, what is the problem exactly? The i18n option requires to translate all the fields, or else an error is thrown.
After the Accessibility improvements, there are new strings that need translation, so your previous configuration does not work in this version, What will OutSystems do? We will analyse the possibility of supporting the partial translation, so a normal translation like the one on this thread works like before. We will also support the translations for Accessibility.
As a workaround, you can translate all the strings, including the Accessibility ones, as described bellow:
"
{
i18n: {
previousMonth: 'Anterior',
nextMonth: 'Próximo',
months: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
weekdays: ['Domingo','Segunda','Terça','Quarta','Quinta','Sexta','Sábado'],
weekdaysShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
todayButton: 'Hoje',
ariaLabelIsDisabled : 'Desactivado. ',
ariaLabelIsToday : 'Hoje. ',
ariaLabelDaySelected : 'Dia seleccionado. ',
ariaLabelHasEvent : 'Tem evento.',
ariaLabelDaysInRange : 'Dias no intervalo de datas. ',
ariaLabelStartRange : 'Início do intervalo de datas. ',
ariaLabelEndRange : 'Fim do intervalo de datas. ',
ariaLabelNavigation : 'navegação',
ariaLabelMonth : 'mês',
ariaLabelYear : 'ano',
ariaLabelPreviousMonth : 'Mês anterior',
ariaLabelNextMonth : 'Próximo mês',
ariaLabelKeyboardShortcuts: 'Atalhos',
ariaLabelCalendarDates : 'Dias do calendário',
keyboardShortcutsDialog : ['Estes são os atalhos disponíveis:','LEFT / RIGHT para navegar entre os dias.','UP / DOWN para navegar entre as semanas.','DELETE para anular a data.','ESCAPE para fechar o calendário.','PAGE UP para navegar para o mês anterior.','PAGE DOWN para navegar para o próximo mês.','SPACE / ENTER para seleccionar a data.'],
keyboardShortcutsDialogButton : 'Entendi!',
ariaLabelDateSelected : 'Data seleccionada: ',
ariaLabelCalendar : 'Calendário',
ariaLabelGoToToday : 'Ir para o dia actual',
ariaLabelOpenCalendar : 'Aberto. Pressione Enter para fechar o calendário',
ariaLabelCloseCalendar : 'Fechado. Pressione Enter para abrir o calendário',
ariaLabelEnterCalendar : 'Pressione Tab para entrar no calendário'
}
}
"
Thank you for reporting this issue!