Patch #30999

Datepicker javascript files locale in uppercase not found

Added by Jérôme BATAILLE over 3 years ago. Updated about 3 years ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


  • In public / javascripts / i18n
    Files like datepicker-en-GB.js are not found because file is searched with locale that is lowercase.
    These files should be in lower case.
The error :
Started GET "/javascripts/i18n/datepicker-en-gb.js" for at 2019-03-08 17:43:44 +0100 09924: 09924: ActionController::RoutingError (No route matches [GET] "/javascripts/i18n/datepicker-en-gb.js"): 09924: 09924: actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' 09924:actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `c

datepicker-en-GB.png (348 KB) Marius BALTEANU, 2019-05-05 14:06


#1 Updated by Marius BALTEANU over 3 years ago

I cannot reproduce on the current trunk or latest Redmine version (4.0.3), please see:

Maybe it is something generated by your plugins, please see an older issue on the same topic (#13412).

#2 Updated by Jérôme BATAILLE about 3 years ago


This issue happens in one of my plugins :
To be clear, all the localized versions of this file are lowercase, except for en-GB.
This is the reason it fails just for this language.
If think that anyway, for uniformity sake this file should be lowercase like the others.

Also available in: Atom PDF