Eu gostaria de utilizar o componente datepicker do Laszlo, entretanto, os meses e os dias da semana necessitam ser em português, ao invés de inglês (default).
Por isso, alterei o dataset "datepicker_strings_en" na qual estão contidos os meses e coloquei os meses em portugês.
De certa forma funcionou, mas, nos 3 primeiros meses aparecem um quadradinho.
Fora isso, não consigo alterar as iniciais dos dias da semana.
Alguém tem alguma sugestão de como alterá-los e de como corrigir os meses?!
<canvas>
<dataset name="datepicker_strings_en">
<months>
<month index="0" full="Janeiro" abr="Jan月"/>
<month index="1" full="Fevereiro" abr="Fev月"/>
<month index="2" full="Marco" abr="Mar月"/>
<month index="3" full="Abril" abr="Abr"/>
<month index="4" full="Maio" abr="Mai"/>
<month index="5" full="Junho" abr="Jun"/>
<month index="6" full="Julho" abr="Jul"/>
<month index="7" full="Agosto" abr="Ago"/>
<month index="8" full="Setembro" abr="Set"/>
<month index="9" full="Outubro" abr="Out"/>
<month index="10" full="Novembro" abr="Nov"/>
<month index="11" full="Dezembro" abr="Dez"/>
</months>
</dataset>
<simplelayout axis="y" spacing="5"/>
<view>
<simplelayout axis="x" spacing="5"/>
<edittext id="birthyear" width="45"/>
<text text="年" width="15"/>
<edittext id="birthmonth" width="25"/>
<text text="月" width="15"/>
<edittext id="birthday" width="25"/>
<text text="日" width="15"/>
<datepicker showingdate="new Date(2004,0,1)"
earliestdate="new Date( 1900, 1, 1)"
latestdate="new Date( 2005, 1, 5)"
selecteddate="new Date( 2004, 0, 20)">
<method event="onselecteddate">
if( this.selecteddate != null ) {
birthyear.setText ( this.selecteddate.getFullYear() );
birthmonth.setText ( this.selecteddate.getMonth()+1 );
birthday.setText( this.selecteddate.getDate() );
}
</method>
</datepicker>
</view>
</canvas>
