<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,8 +10,8 @@ module Globalize
       def init_translations
         @translations = Hash.new
         DbTranslationLocale.all.each do |locale|
-          @translations[locale.locale.to_sym] = locale.translation_hash
-          I18n.fallbacks.map locale.locale.to_sym =&gt; locale.parent.locale.to_sym unless locale.parent.nil?
+          @translations[locale.language_tag.to_sym] = locale.translation_hash
+          I18n.fallbacks.map locale.language_tag.to_sym =&gt; locale.parent.language_tag.to_sym unless locale.parent.nil?
         end
         @initialized = true
       end</diff>
      <filename>lib/globalize/backend/db.rb</filename>
    </modified>
    <modified>
      <diff>@@ -22,4 +22,8 @@ class DbTranslationLocale &lt; ActiveRecord::Base
     end
     @hash
   end
+  
+  def language_tag
+    &quot;#{locale}-x-#{id}&quot;
+  end
 end</diff>
      <filename>lib/globalize/backend/db/db_translation_locale.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6c26d3b9d28cae487fe0932f1d353c1476a443c0</id>
    </parent>
  </parents>
  <author>
    <name>Mick Staugaard</name>
    <email>spam@staugaard.com</email>
  </author>
  <url>http://github.com/hchoroomi/globalize2/commit/e518e7916bf362810958f8f7b4f74688edee2d82</url>
  <id>e518e7916bf362810958f8f7b4f74688edee2d82</id>
  <committed-date>2008-12-16T08:23:10-08:00</committed-date>
  <authored-date>2008-12-16T08:23:10-08:00</authored-date>
  <message>added private tag to language tags</message>
  <tree>12f7cb5d70db53382720dac228a5d9a317eb8609</tree>
  <committer>
    <name>Mick Staugaard</name>
    <email>spam@staugaard.com</email>
  </committer>
</commit>
