<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -121,3 +121,4 @@ Since I first released this library, there's been quite a few people who have su
 * Max Lapshin
 * Martin Emde
 * David Wennergren
+* Mark Lane</diff>
      <filename>README.textile</filename>
    </modified>
    <modified>
      <diff>@@ -2,5 +2,13 @@ require 'thinking_sphinx'
 require 'action_controller/dispatcher'
 
 ActionController::Dispatcher.to_prepare :thinking_sphinx do
+  # Force internationalisation to be loaded.
+  if Rails::VERSION::STRING.to_f &gt; 2.2
+    I18n.backend.reload!
+    I18n.backend.available_locales
+  elsif Rails::VERSION::STRING.to_f &gt; 2.1
+    I18n.backend.load_translations(*I18n.load_path)
+  end
+  
   ThinkingSphinx::Configuration.instance.load_models
 end</diff>
      <filename>rails/init.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>eaedab89717e43cef9530575324d9acc1f39256f</id>
    </parent>
  </parents>
  <author>
    <name>Pat Allan</name>
    <email>pat@freelancing-gods.com</email>
  </author>
  <url>http://github.com/freelancing-god/thinking-sphinx/commit/897671c2fdfb4093422352d8cab774cf8e9f2b8d</url>
  <id>897671c2fdfb4093422352d8cab774cf8e9f2b8d</id>
  <committed-date>2009-05-09T14:37:48-07:00</committed-date>
  <authored-date>2009-05-09T14:37:48-07:00</authored-date>
  <message>Adding forced-load of I18n to ensure translations are loaded before models. Thanks to Dr Mark Lane</message>
  <tree>cb3aad2f8ab60f4e4c01b0cf5be01f69f123603c</tree>
  <committer>
    <name>Pat Allan</name>
    <email>pat@freelancing-gods.com</email>
  </committer>
</commit>
