https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292013-01-18T18:23:28ZRedmineRedmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=446732013-01-18T18:23:28ZEtienne Massip
<ul><li><strong>Resolution</strong> set to <i>Cant reproduce</i></li></ul><p>Sorry Terence, I can't see the relationship between jQuery and this error stack.</p>
<p>I can't reproduce either, are you sure it is not a plugin issue?</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=447692013-01-21T08:51:36ZEtienne Massip
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs feedback</i></li></ul> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=447842013-01-21T12:37:35ZTerence Mill
<ul></ul><p>I can't test without plugin at the moment, so i can't deny you assumption.<br />However this sounds strange as plugin issue and what is the answer on "Strange is that jquery ui repo also don't has such locale".<br />I don't unsetand why all locales exists but none for english? How does this (If so) default work, and maybe that is the explanation if and hwere to nserach the cause for the error.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=447852013-01-21T12:41:50ZToshi MARUYAMA
<ul></ul><p><a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Lazy loading of translation files for faster startup (Closed)" href="https://www.redmine.org/issues/12475">#12475</a> uses cache.<br />You need to delete tmp/cache when plugin installing or upgrading redmine.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=448442013-01-22T15:54:50ZTerence Mill
<ul></ul><p>I think the error is caused by including same or diffreent version of jquery in a plugin.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=448522013-01-22T16:59:21ZEtienne Massip
<ul></ul><p>Terence Mill wrote:</p>
<blockquote>
<p>I think the error is caused by including same or diffreent version of jquery in a plugin.</p>
</blockquote>
<p>In which plugin/version is it already included?</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=448572013-01-22T17:22:26ZTerence Mill
<ul></ul><p>redmine_lightbox, redmine_dnoise_workload, redmine_goyello_schedules, redmine_dmsf, redmine_monitoring_controlling, redmine_impasse, redmine_scrumb2, redmine_planner, and many more.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=448582013-01-22T17:24:57ZEtienne Massip
<ul></ul><p>Terence Mill wrote:</p>
<blockquote>
<p>redmine_lightbox, redmine_dnoise_workload, redmine_goyello_schedules, redmine_dmsf, redmine_monitoring_controlling, redmine_impasse, redmine_scrumb2, redmine_planner, and many more.</p>
</blockquote>
<p>Niiiiiiiiiiiiice…</p>
<blockquote>
<p>I think the error is caused by including same or diffreent version of jquery in a plugin.</p>
</blockquote>
<p>What makes you think that?</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=449362013-01-25T09:10:50ZTerence Mill
<ul></ul><p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p><a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Lazy loading of translation files for faster startup (Closed)" href="https://www.redmine.org/issues/12475">#12475</a> uses cache.<br />You need to delete tmp/cache when plugin installing or upgrading redmine.</p>
</blockquote>
<p>I ran "tmp:sessions:clear" and "tmp:cache:clear" but error stays. So it seems not to be a cache issue</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=449762013-01-25T22:12:46ZAndy Alton
<ul></ul><p>I'm having the exact same problem, but haven't found any way to fix it and keep all the default locale settings. Terence's workaround (copying the datepicker en-GB to en) has no effect.</p>
<p>Any strings in the English locale file fail to show, causing Internal Server Errors on most pages. Even the language itself is shown at the bottom of Settings/Display/Default language and users account page as "translation missing: en.general_lang_name", and it's the only language in the list with that error. Changing the language to en-GB fixes it, but changes all the relevant locale settings too of course...</p>
<p>Redmine version 2.2.1.stable, Ruby version 1.9.3 (i386-mingw32), Rails version 3.2.11.<br /><a href="http://pastebin.com/embed_iframe.php?i=SRQBNysQ" class="external">Gemfile.lock</a></p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=449792013-01-26T01:30:52ZToshi MARUYAMA
<ul></ul><p>Could you try <a href="http://www.redmine.org/attachments/download/8833/revert-r10844.diff" class="external">revert-r10844.diff</a> in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Internal Error 500 on "settings" (Closed)" href="https://www.redmine.org/issues/12861#note-12">#12861#note-12</a> ?</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=449932013-01-26T11:34:58ZAndy Alton
<ul></ul><p>The patch moved the "translation missing: en.general_lang_name" from the bottom of the list to right before "English (British)", but otherwise all the 500 errors are still happening. I also made sure to clear the cache before starting Redmine after patching. The stack trace is the same as in the original report.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=449942013-01-26T12:40:24ZEtienne Massip
<ul></ul><p>Andy Alton wrote:</p>
<blockquote>
<p>Redmine version 2.2.1.stable, Ruby version 1.9.3 (i386-mingw32), Rails version 3.2.11.<br /><a href="http://pastebin.com/embed_iframe.php?i=SRQBNysQ" class="external">Gemfile.lock</a></p>
</blockquote>
<p>Plugins?</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=449952013-01-26T13:37:58ZAndy Alton
<ul></ul><p>I have <a href="http://www.redmine.org/plugins/redmine_xls_export" class="external">XLS Export</a> and its dependency <a href="http://www.redmine.org/plugins/redmine_plugin_views_revisions" class="external">Plugin views revisions</a> installed.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=450592013-01-27T21:20:27ZAndy Alton
<ul></ul><p>Looks like that's part of the reason... Way back, the XLS Export links in the interface would show translation placeholders in the en-GB locale, so I had copied its en.yml to en-GB.yml, which worked fine until 2.1.something. Somewhere between that version and 2.2.1 it stopped working and created this issue, presumably when Redmine sees duplicate locale files and rejects the whole language? Deleting the copy of the plugin's locale file fixes this for me.</p>
<p>Sorry about the confusion, you can ignore my comments on this issue. Back to Terence!</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=453922013-02-07T10:25:12ZDaniel Felix
<ul></ul><p>Andy Alton wrote:</p>
<blockquote>
<p>... when Redmine sees duplicate locale files and rejects the whole language?</p>
</blockquote>
<p>Well you can experience some likely bug if you add a plugin, which uses a label which isn't added in any translation file.<br />Some parts of the translation will be broken if Rails couldn't find it in any translation file.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=492692013-05-08T16:59:30ZJordi Rovira
<ul></ul><p>Hi. I am getting an error that may be related to this one with this log in redmine 2.3.0</p>
<p>Completed 500 Internal Server Error in 166ms</p>
<p>ActionView::Template::Error (translation missing: en.date.formats.default):<br /> 20: <% for project in <a class="user active" href="https://www.redmine.org/users/416156">Projects Projects</a> <span>><br /> 21: <</span> <a class="user active" href="https://www.redmine.org/users/11497">Herve Harster</a> = project <span>><br /> 22: <li><br /> 23: <</span>= link_to_project project <span>> (<</span>= format_time(project.created_on) <span>>)<br /> 24: <</span>= textilizable project.short_description, :project => project <span>><br /> 25: </li><br /> 26: <</span> end %><br /> lib/redmine/i18n.rb:60:in `format_date'<br /> lib/redmine/i18n.rb:71:in `format_time'<br /> app/views/welcome/index.html.erb:23:in `_app_views_welcome_index_html_erb__971611127_70124025026480'<br /> app/views/welcome/index.html.erb:20:in `each'<br /> app/views/welcome/index.html.erb:20:in `_app_views_welcome_index_html_erb__971611127_70124025026480'</p>
<p>It has happened to me 2 times in a day, but i don't have an exact repro. The site is accessible and i may be being accessed from different locales. I had two plugins (graphs and google_analytics) but I have removed them now. I will report back if it happens again.</p>
<p>Edit: After checking the log IPs, in both cases it happened after being accessed from Korea and Japan, and then from my own system, with the English locale.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=492702013-05-08T17:23:15ZToshi MARUYAMA
<ul></ul><p>Did you clear cache after installing plugins?<br />Please 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> (note-12) and following notes.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=492712013-05-08T18:00:18ZJordi Rovira
<ul></ul><p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p>Did you clear cache after installing plugins?<br />Please 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> (note-12) and following notes.</p>
</blockquote>
<p>No, but i have done it now. I will report if it crashes again. I was indeed using the Debian packaged version.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=493952013-05-13T08:22:15ZJordi Rovira
<ul></ul><p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p>Did you clear cache after installing plugins?<br />Please 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> (note-12) and following notes.</p>
</blockquote>
<p>After clearing the cache, redmine has been working fine for some days. Now i will try reinstalling the plugins and see if everything is still fine. Thank you Toshi!</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=493962013-05-13T08:31:23ZToshi MARUYAMA
<ul></ul><p>Terence Mill wrote:</p>
<blockquote>
<p>Toshi MARUYAMA wrote:</p>
<blockquote>
<p><a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Lazy loading of translation files for faster startup (Closed)" href="https://www.redmine.org/issues/12475">#12475</a> uses cache.<br />You need to delete tmp/cache when plugin installing or upgrading redmine.</p>
</blockquote>
<p>I ran "tmp:sessions:clear" and "tmp:cache:clear" but error stays. So it seems not to be a cache issue</p>
</blockquote>
<p>Terence, as <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> (note-12), "rake tmp:cache:clear" does not work correctly in some case.<br />You need to delete /var/cache/redmine/ manually if it exists.<br />Could you try?</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=495052013-05-17T11:41:33ZMichael Heinze
<ul></ul><p>Hi guys!</p>
<p>My experience with this is: <br />This error occurs <strong>when you copy a language file but you forget to adapt the language code at the top of the copied file</strong>!<br />And it occurs irregularly (only after each x-th server restart) so it is not reproducable.</p>
<p>In my case, I created my own Redmine plugin. So, first there was only an empty "en.yml".<br />I edited this file and filled in all my strings and identifiers.<br />After that, I wanted to add another language file ("de.yml"), which I created by copying the "en.yml".<br />In the "de.yml", I translated all strings but at the top of the file, I forgot to change "en:" to "de:"!<br />That was why I got the error.</p>
<p>Hope I could help some of you.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=507022013-07-22T07:32:04ZTerence Mill
<ul></ul><p>I still have the problem after update to 2.3.2 I also searched with wrong locale lavel or missing locale topic label.<br />Its all fixed still but i still have the problems.<br />THis seemks to be very influenceable being instable for any errorr in plugins translation files.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=510282013-08-06T08:15:48ZMr. DTTH
<ul></ul><p>Terence Mill wrote:</p>
<blockquote>
<p>I still have the problem after update to 2.3.2 I also searched with wrong locale lavel or missing locale topic label.<br />Its all fixed still but i still have the problems.<br />THis seemks to be very influenceable being instable for any errorr in plugins translation files.</p>
</blockquote>
<p>Check all file language in plugins :</p>
<pre><code>_This error occurs when you copy a language file but you forget to adapt the language code at the top of the copied file!<br />And it occurs irregularly (only after each x-th server restart) so it is not reproducable.</code></pre>
<p>In my case, I created my own Redmine plugin. So, first there was only an empty "en.yml".<br />I edited this file and filled in all my strings and identifiers.<br />After that, I wanted to add another language file ("de.yml"), which I created by copying the "en.yml".<br />In the "de.yml", I translated all strings but at the top of the file, I forgot to change "en:" to "de:"!<br />That was why I got the error._</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=522882013-10-03T08:29:09ZAlberto Cennini
<ul></ul><p>Minh Thien Nguyen wrote:</p>
<blockquote>
<p>Terence Mill wrote:</p>
<blockquote>
<p>I still have the problem after update to 2.3.2 I also searched with wrong locale lavel or missing locale topic label.<br />Its all fixed still but i still have the problems.<br />THis seemks to be very influenceable being instable for any errorr in plugins translation files.</p>
</blockquote>
<p>Check all file language in plugins :</p>
<p>_This error occurs when you copy a language file but you forget to adapt the language code at the top of the copied file!<br />And it occurs irregularly (only after each x-th server restart) so it is not reproducable.</p>
<p>In my case, I created my own Redmine plugin. So, first there was only an empty "en.yml".<br />I edited this file and filled in all my strings and identifiers.<br />After that, I wanted to add another language file ("de.yml"), which I created by copying the "en.yml".<br />In the "de.yml", I translated all strings but at the top of the file, I forgot to change "en:" to "de:"!<br />That was why I got the error._</p>
</blockquote>
<p>This is exactly the same error I did: I created it.yml starting from en.yml and I forgot to change the language identification label in the top of the file (en:). The result was that 'en' language stopped working: label missing on all the pages and crashes in modules if they used date.format.default. <br />I corrected the mistake and everything began to reoperate correctly.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=522912013-10-03T11:57:10ZTerence Mill
<ul></ul><p>IT should me more error poff or at least show an error for the locale file where name<>locake topic ..<br />Its really difficult to find that bad file if you use many plugins.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=536582013-12-07T02:18:36ZToshi MARUYAMA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/15617">Defect #15617</a>: Regional (i.e. sub) localization not correctly supported</i> added</li></ul> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=538902013-12-17T15:08:26ZJérôme BATAILLE
<ul></ul><p>Hi, we experienced the same problems on our Redmine servers.</p>
<p>We have developed a home made plugin.<br />On our integration server this plugin was containing an <strong>en-GB locale file</strong> with the first line wrongly set to <strong>en</strong>.<br />Loading this file by choosing the en-GB user locale, was systematically erasing the en translations.</p>
<p>This has been fixed.</p>
<p>On our production, we have migrated the plugin from Redmine V1.2.1 to V2.3.2.<br />The old plugin was containing the bad locale key, and this was not creating issues before the migration with the old Redmine version.<br />With the new version, even if the locale key has been fixed, we experience the en translations lost.</p>
<p>During the migration we applied the <strong>tmp:sessions:clear</strong> and <strong>tmp:cache:clear</strong></p>
<p>Is there is a possibility that the wrong key value stays in the cache ?<br />Is the cache grepable to verify that ?</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=560092014-04-23T04:02:52ZToshi MARUYAMA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/16472">Defect #16472</a>: Browser translation missing public area under Linux</i> added</li></ul> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=560422014-04-24T12:38:07ZToshi MARUYAMA
<ul></ul><p>Jérôme BATAILLE wrote:</p>
<blockquote>
<p>During the migration we applied the <strong>tmp:sessions:clear</strong> and <strong>tmp:cache:clear</strong></p>
<p>Is there is a possibility that the wrong key value stays in the cache ?<br />Is the cache grepable to verify that ?</p>
</blockquote>
<p>See:<br /><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> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=579072014-08-06T12:40:55ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-5 priority-high2 closed" href="/issues/17621">Defect #17621</a>: Completed 500 Internal Server Error </i> added</li></ul> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=585662014-09-11T12:36:22ZTobias Fischer
<ul></ul><p>I had the same bug hanging around randomly and it was definately fixed after I checked and cleaned up all the plugins language files were sometimes there was a file "de.yml" with unchanged "en:"</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=612652015-02-03T14:31:23Zdominik ch
<ul></ul><p>I had same issue, language "English" was missing when it's for each plugin defined, <br />I found out that one of plugin had broken lang file, it's easy to find that using: <br /><pre>
grep -R "en:" | grep "yml" | grep -v "/en.yml:en:" | grep ":en:"
</pre><br />This will give all *.yml files with "en:" and not "en.yml", You can easily review and find mistake.</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=821242017-11-17T13:04:51ZLucky Boy
<ul></ul><p>dominik ch wrote:</p>
<blockquote>
<p>This will give all *.yml files with "en:" and not "en.yml", You can easily review and find mistake.</p>
</blockquote>
<p>This work! thanks...</p> Redmine - Defect #12900: Template::Error (translation missing: en.date.formats.default)https://www.redmine.org/issues/12900?journal_id=1126602024-01-31T06:03:25ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>Needs feedback</i> to <i>Closed</i></li></ul>