Project

General

Profile

Actions

Defect #12900

closed

Template::Error (translation missing: en.date.formats.default)

Added by Terence Mill over 11 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
I18n
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

I get this error when i change to English locale. I checked twice and actually there is no file
public\javascripts\i18n\jquery.ui.datepicker-en.js.

If i copy public\javascripts\i18n\jquery.ui.datepicker-en.js to public\javascripts\i18n\jquery.ui.datepicker-en-GB.js the error is gone.
Strange is that jquery ui repo also don't has such locale
https://code.google.com/p/jquery-ui/source/browse/trunk/ui/i18n/?r=3705

ActionView::Template::Error (translation missing: en.date.formats.default):
    1: <h3><%=l(:label_my_account)%></h3>
    2: 
    3: <p><%=l(:field_login)%>: <strong><%= link_to_user(@user, :format => :username) %></strong><br />
    4: <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>
    5: 
    6: <% if @user.own_account_deletable? %>
    7:   <p><%= link_to(l(:button_delete_my_account), {:action => 'destroy'}, :class => 'icon icon-del') %></p>
  lib/redmine/i18n.rb:60:in `format_date'
  lib/redmine/i18n.rb:71:in `format_time'
  app/views/my/_sidebar.html.erb:4:in `_app_views_my__sidebar_html_erb___357797368_111603840'
  app/views/my/account.html.erb:48:in `block in _app_views_my_account_html_erb___96936270_109476630'


Related issues

Related to Redmine - Feature #12475: Lazy loading of translation files for faster startupClosedJean-Philippe Lang

Actions
Related to Redmine - Defect #17621: Completed 500 Internal Server Error Closed

Actions
Has duplicate Redmine - Defect #13204: translation missing error_session_expiredClosed

Actions
Has duplicate Redmine - Defect #15617: Regional (i.e. sub) localization not correctly supportedClosed

Actions
Has duplicate Redmine - Defect #16472: Browser translation missing public area under LinuxClosed

Actions
Actions

Also available in: Atom PDF