Search and Top Navigation
#7437 closed feature (duplicate)
Opened May 30, 2011 07:40AM UTC
Closed February 05, 2013 08:57PM UTC
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?
Attachments (0)
Change History (5)
Changed May 30, 2011 07:47AM UTC by comment:1
Changed June 26, 2012 01:22AM UTC by comment:2
type: | enhancement → feature |
---|
Changed October 11, 2012 02:43PM UTC by comment:3
milestone: | 1.9.0 → 1.11.0 |
---|
Changed October 16, 2012 09:15PM UTC by comment:4
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'],