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:


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 bjornjohansen

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'],

comment:2 Changed 11 years ago by Scott González

Type: enhancementfeature

comment:3 Changed 11 years ago by Scott González


comment:4 Changed 11 years ago by petersendidit

Status: newopen
Summary: Norwegian i18n file(s)Datepicker: Norwegian i18n file(s)

comment:5 Changed 10 years ago by Scott González

Resolution: duplicate
Status: openclosed

Duplicate of #8886.

Note: See TracTickets for help on using tickets.