google-code-export / wiquery

Automatically exported from code.google.com/p/wiquery
MIT License
1 stars 1 forks source link

Localization for pt_PT missing in DatePicker #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set locale to pt_PT
2. Add a datepicker to a page
3. You get a 404 for the resource: 
org/odlabs/wiquery/ui/datepicker/i18n/ui.datepicker-pt-PT.js

What is the expected output? What do you see instead?
The localization file is resolved well and the date picker works in Portuguese

What version of the product are you using? On what operating system?
Wiquery 1.0.2, Wicket 1.4.7

Please provide any additional information below.
This might not be a bug at all but just a missing feature/localization.

Original issue reported on code.google.com by mika.j.s...@gmail.com on 19 Oct 2010 at 8:11

GoogleCodeExporter commented 9 years ago
I think there is no "official" JavaScript file  

ui.datepicker-pt-PT.js

coming along with jQuery UI download (at eleast not 0n 1.8.5). You can see it 
yourself at http://jqueryui.com/download 

Can't you just: 

1-create a package org/odlabs/wiquery/ui/datepicker/i18n/ on your project
2-copy jquery.ui.datepicker-pt-BR.js to jquery.ui.datepicker-pt-PT.js and 
modify it as you need.
3-and maybe submit the new file to jQuery UI team and ask them to include it in 
next UI release

Cheers,

Ernesto

Original comment by reier...@gmail.com on 19 Oct 2010 at 11:15

GoogleCodeExporter commented 9 years ago
This should be fixed by the UI team. Once an official

ui.datepicker-pt-PT.js

is included with the UI distribution we can include it here. Proposed fix 
should work.

Ernesto

Original comment by reier...@gmail.com on 21 Oct 2010 at 5:59