<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/globalize/i18n/missing_translations_log_handler.rb</filename>
    </added>
    <added>
      <filename>spec/i18n/log_missing_translations_handlermissing_translations_log_spec.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -190,7 +190,19 @@ rails.original            # returns the original translation with no values
                           # interpolated to it (e.g. &quot;Hi {{name}}!&quot;)
 &lt;/code&gt;&lt;/pre&gt;
 
-h2. Other notes
+h2. Missing Translations Log Handler
 
-Please note that the Globalize2 Static backend (just like the Simple backend) does not support reloading translation data between subsequent requests.
+A simple exception handler that behaves like the default exception handler but additionally logs missing translations to a given log.
 
+Useful for identifying missing translations during testing.
+
+E.g. 
+
+  require 'globalize/i18n/missing_translations_log_handler
+  I18n.missing_translations_logger = RAILS_DEFAULT_LOGGER
+  I18n.exception_handler = :missing_translations_log_handler
+
+To set up a different log file:
+
+  logger = Logger.new(&quot;#{RAILS_ROOT}/log/missing_translations.log&quot;)
+  I18n.missing_translations_logger = logger</diff>
      <filename>README.textile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d63e851d1a371e6a6583bc64867fb1b50c85c474</id>
    </parent>
  </parents>
  <author>
    <name>Sven Fuchs</name>
    <email>svenfuchs@artweb-design.de</email>
  </author>
  <url>http://github.com/hchoroomi/globalize2/commit/c5bad45e9df677860b2c0232b86208821eb2818a</url>
  <id>c5bad45e9df677860b2c0232b86208821eb2818a</id>
  <committed-date>2008-11-25T08:01:09-08:00</committed-date>
  <authored-date>2008-11-25T08:01:09-08:00</authored-date>
  <message>add missing_translations_log_handler</message>
  <tree>5067cdb15d75ebf19fc5adbc04a6f7d1ea873f65</tree>
  <committer>
    <name>Sven Fuchs</name>
    <email>svenfuchs@artweb-design.de</email>
  </committer>
</commit>
