https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292014-12-01T10:09:45ZRedmineRedmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=601262014-12-01T10:09:45ZToshi MARUYAMA
<ul><li><strong>Target version</strong> set to <i>3.0.0</i></li></ul> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=601272014-12-01T10:23:58ZToshi MARUYAMA
<ul></ul><p>Try clear cache (see <a class="issue tracker-1 status-5 priority-5 priority-high2 closed" title="Defect: Internal Error (incompatible character encodings: ASCII-8BIT and UTF-8) when accessing Admin/Sett... (Closed)" href="https://www.redmine.org/issues/13520#note-12">#13520#note-12</a>).</p>
<hr />
<blockquote>
<p>Ruby version 2.1.1-p76 (2014-02-24) [x86_64-darwin13.0]</p>
</blockquote>
<p>Try recent Ruby.<br />Latest ruby version is 2.1.5.<br /><a class="external" href="https://www.ruby-lang.org/en/">https://www.ruby-lang.org/en/</a></p>
<hr />
<blockquote>
<p>Redmine plugins:<br />redmine_mili 0.0.1<br />redmine_s3_attachments 0.0.3</p>
</blockquote>
<p>If you don't intend Rails 4 porting of plugins, please try without plugins.</p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=601382014-12-01T15:11:03ZDenis Savitskiy
<ul></ul><p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p>Try clear cache (see <a class="issue tracker-1 status-5 priority-5 priority-high2 closed" title="Defect: Internal Error (incompatible character encodings: ASCII-8BIT and UTF-8) when accessing Admin/Sett... (Closed)" href="https://www.redmine.org/issues/13520#note-12">#13520#note-12</a>).</p>
</blockquote>
<p>It doesn't help.</p>
<blockquote>
<p>Try recent Ruby.<br />Latest ruby version is 2.1.5.<br /><a class="external" href="https://www.ruby-lang.org/en/">https://www.ruby-lang.org/en/</a></p>
</blockquote>
<p>Thanks! I'll try.</p>
<blockquote>
<p>If you don't intend Rails 4 porting of plugins, please try without plugins.</p>
</blockquote>
<p>I ported them. The error is raised even in pure redmine installation running locally through <pre>
rails s
</pre></p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=603022014-12-08T12:11:22ZDenis Savitskiy
<ul></ul><p>Ruby update to 2.1.5 and update with trunk didn't help.</p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=606842015-01-05T07:26:25ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs feedback</i></li><li><strong>Target version</strong> deleted (<del><i>3.0.0</i></del>)</li></ul><p>I cannot reproduce on trunk <a class="changeset" title="Gemfile: pin pg version 0.17 On Rails 4.1.8, pg 0.18.0 cause error. <pre> 1) Failure: WikiCon..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/13839">r13839</a>.</p>
<pre>
Started GET "/" for 192.168.11.10 at 2015-01-05 16:23:31 +0900
Processing by WelcomeController#index as HTML
Current user: anonymous
Rendered news/_news.html.erb (3.7ms)
Rendered welcome/index.html.erb within layouts/base (7.3ms)
Completed 200 OK in 27ms (Views: 15.9ms | ActiveRecord: 1.5ms)
</pre>
<pre>
$ ruby --version
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]
</pre>
<p>i18n gem has updated to 0.7.0.<br />Try "bundle update".</p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=606862015-01-05T09:05:59ZDenis Savitskiy
<ul></ul><p>Seems to be phusion passenger bug. Close.</p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=606902015-01-05T12:57:18ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Needs feedback</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><p>Thank you for your feedback.</p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=608002015-01-11T11:06:21ZDenis Savitskiy
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>Well, tested on 2.6.1 stable running in development environment with Webrick, but the error repeated - with default app locale set to Russian, when user logins with locale set to English, app crashes with:<br /><pre>
ActionView::Template::Error (translation missing: en.date.formats.default):
3: <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %>
4: <br />
5: <% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %>
6: <span class="author"><%= authoring news.created_on, news.author %></span></p>
lib/redmine/i18n.rb:60:in `format_date'
lib/redmine/i18n.rb:71:in `format_time'
app/helpers/application_helper.rb:455:in `time_tag'
app/helpers/application_helper.rb:447:in `authoring'
app/views/news/_news.html.erb:6:in `_app_views_news__news_html_erb___2426905220672602597_70277980553640'
app/views/welcome/index.html.erb:8:in `_app_views_welcome_index_html_erb___1996514463793302823_70277985384900'
</pre></p>
</pre> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=608012015-01-11T11:38:33ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>I cannot reproduce on <a class="version" href="https://www.redmine.org/versions/88">2.6.1</a>.<br />All tests pass.<br /><a class="external" href="http://www.redmine.org/builds/index.html">http://www.redmine.org/builds/index.html</a></p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=608232015-01-13T14:50:59ZDenis Savitskiy
<ul></ul><p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p>I cannot reproduce on <a class="version" href="https://www.redmine.org/versions/88">2.6.1</a>.<br />All tests pass.<br /><a class="external" href="http://www.redmine.org/builds/index.html">http://www.redmine.org/builds/index.html</a></p>
</blockquote>
<p>I think, it is not covered in tests. Try: set default language to English, login, change profile language to Russian, shut down the server. Run it again and login. Boom!</p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=608272015-01-13T16:03:34ZToshi MARUYAMA
<ul><li><strong>File</strong> <a href="/attachments/12962">4.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/12962/4.png">4.png</a> added</li><li><strong>File</strong> <a href="/attachments/12961">1.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/12961/1.png">1.png</a> added</li><li><strong>File</strong> <a href="/attachments/12964">2.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/12964/2.png">2.png</a> added</li><li><strong>File</strong> <a href="/attachments/12963">3.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/12963/3.png">3.png</a> added</li></ul><p>I cannot reproduce.</p>
<p><img src="https://www.redmine.org/attachments/download/12961/1.png" alt="" /><br /><img src="https://www.redmine.org/attachments/download/12964/2.png" alt="" /><br /><img src="https://www.redmine.org/attachments/download/12963/3.png" alt="" /><br /><img src="https://www.redmine.org/attachments/download/12962/4.png" alt="" /></p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=610502015-01-22T10:07:20ZDenis Savitskiy
<ul></ul><p>Thanks!</p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=611442015-01-28T13:02:14Zdominik ch
<ul></ul><p>I got this issue, <br />I think it's related to debug mode and some cache files, my redmine is run in debug console via ruby, when I open it in that mode there are labels "pl:translation_is_missing:..." for some plugins links etc. Then when lang is changed to en - there is 500 error in both production and debug <br />clearing cache + restart helps</p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=611452015-01-28T14:04:41ZDenis Savitskiy
<ul></ul><p>dominik ch wrote:</p>
<blockquote>
<p>I got this issue, <br />I think it's related to debug mode and some cache files, my redmine is run in debug console via ruby, when I open it in that mode there are labels "pl:translation_is_missing:..." for some plugins links etc. Then when lang is changed to en - there is 500 error in both production and debug <br />clearing cache + restart helps</p>
</blockquote>
<p>This is because Redmine extends I18n with its own caching methods.</p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=611672015-01-29T10:35:36Zdominik ch
<ul></ul><p>I found a clue to my error here: <br /><a class="external" href="http://www.redmine.org/issues/12900">http://www.redmine.org/issues/12900</a></p>
<p>There were language files with wrong name, in my case pl.yml with first line as: "en:" <br />when I corrected this - no error 500 <br />Hope this will help someone else and maybe there is a way to detect such errors in lang files? It can be in any plugin :(</p> Redmine - Defect #18518: I18n::MissingTranslationData: translation missing: en.date.formats.defaulthttps://www.redmine.org/issues/18518?journal_id=617892015-03-02T10:34:32ZDenis Savitskiy
<ul></ul><p>dominik ch wrote:</p>
<blockquote>
<p>I found a clue to my error here: <br /><a class="external" href="http://www.redmine.org/issues/12900">http://www.redmine.org/issues/12900</a></p>
<p>There were language files with wrong name, in my case pl.yml with first line as: "en:" <br />when I corrected this - no error 500 <br />Hope this will help someone else and maybe there is a way to detect such errors in lang files? It can be in any plugin :(</p>
</blockquote>
<p>Yepp, I had the same error in a plugin.</p>