Opened 12 years ago
Closed 10 years ago
#7437 closed feature (duplicate)
Datepicker: Norwegian i18n file(s)
Reported by: | bjornjohansen | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.0 |
Component: | ui.datepicker | Version: | 1.8.13 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Norwegian really isn't language used in writing. Instead there are two different languages used: Norwegian Bokmål (nb) and Norwegian Nynorsk (nn).
The current datepicker i18n file jquery.ui.datepicker-no.js really is Norwegian Bokmål (nb) and should be renamed accordingly (to jquery.ui.datepicker-nb.js). The instances of $.datepicker.regional['no'] should also be renamed $.datepicker.regional['nb'], of course.
This would help a lot when loading the files automaticly based on page locale (nb_NO).
This file could also be copied to jquery.ui.datepicker-nn.js and would be correct with the following replacement: weekHeader: 'Veke',
Leaving the old file will do no harm, and take care of backwards compability. Perhaps with a note to use nb/nn instead?
Change History (5)
comment:1 Changed 12 years ago by
comment:2 Changed 11 years ago by
Type: | enhancement → feature |
---|
comment:3 Changed 11 years ago by
Milestone: | 1.9.0 → 1.11.0 |
---|
comment:4 Changed 11 years ago by
Status: | new → open |
---|---|
Summary: | Norwegian i18n file(s) → Datepicker: Norwegian i18n file(s) |
Just discovered that the Norwegian Nynorsk file also needs these translations:
dayNamesShort: ['sun','mån','tys','ons','tor','fre','lau'],
dayNames: ['sundag','måndag','tysdag','onsdag','torsdag','fredag','laurdag'],
dayNamesMin: ['su','ma','ty','on','to','fr','la'],