<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/templates/locales/de.yml</filename>
    </added>
    <added>
      <filename>lib/templates/locales/en.rb</filename>
    </added>
    <added>
      <filename>lib/templates/locales/en.yml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -12,8 +12,8 @@ To install the plugin, change into an existing Rails application and run
   ruby script/plugin install git://github.com/clemens/localized_dates.git
 
 This will download the plugin and store it in vendor/plugins/localized_dates. It will also create a directory named
-config/locales and copy three locale files, en-US.rb, en-US.yml, and de-AT.yml into this directory. While the en-US
-locale files mimic current Rails formats, de-AT serves as a demo on how date and time formats can be customized.
+config/locales and copy three locale files, en.rb, en.yml, and de.yml into this directory. While the &quot;en&quot;
+locale files mimic current Rails formats, &quot;de&quot; serves as a demo on how date and time formats can be customized.
 
 Adding a new locale
 =================
@@ -24,9 +24,9 @@ locale and basing your new locale on it.
 Adding new date and time formats
 =================
 
-Adding new date and time formats is easy. Take a look at the basic structure of the locale file en-US.yml:
+Adding new date and time formats is easy. Take a look at the basic structure of the locale file en.yml:
 
-  &quot;en-US&quot;:
+  en:
     date:
       formats:
         default: &quot;%Y-%m-%d&quot;
@@ -50,13 +50,13 @@ Adding new date and time formats is easy. Take a look at the basic structure of
         pm: 'pm'
 
 As you can see, there are two basic entites: date and time. time also has two children, datetime and time_with_zone
-that both inherit from :time so you usually don't even need to define them (the de-AT locale, for, example doesn't).
+that both inherit from :time so you usually don't even need to define them (the &quot;de&quot; locale, for, example doesn't).
 
 If you need more complex Ruby constructs such as lambdas, you still need to define them in a separate Ruby file. Take
-a look at the following default formats of en-US.rb:
+a look at the following default formats of en.rb:
 
   {
-    :'en-US' =&gt; {
+    :en =&gt; {
       :date =&gt; {
         :formats =&gt; {
           :long_ordinal =&gt; lambda { |date| &quot;%B #{date.day.ordinalize}, %Y&quot; }
@@ -107,7 +107,7 @@ Customizing day and month names
 If you localize your application for a language other than English, you most likely want to change the default month
 and day names to your own countries' names. Here's how it's done:
 
-  &quot;de-AT&quot;:
+  de:
     date:
       day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
       abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
@@ -122,10 +122,10 @@ the definition of day names starts with Sunday (not Monday).
 Changing the default locale
 =================
 
-If you want to use a default locale other than en-US, you have to tell the i18n plugin the locale you want to use by
+If you want to use a default locale other than &quot;en&quot;, you have to tell the i18n plugin the locale you want to use by
 default. Simply put the following line in an initializer in config/initializers or include it in your environment.rb:
 
-    I18n.default_locale = 'de-AT'
+    I18n.default_locale = :de
 
 Contributors
 =================</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -9,5 +9,5 @@ end
 
 Rails.logger.info '** [localized_dates] locales loaded from config/locales.'
 
-# set default locale to en-US
-I18n.default_locale = 'en-US'
\ No newline at end of file
+# set default locale to en
+I18n.default_locale = 'en'
\ No newline at end of file</diff>
      <filename>init.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@ locales_dir = File.join(RAILS_ROOT, 'config', 'locales')
 Dir.mkdir(locales_dir) unless File.directory?(locales_dir)
 
 locales_template_dir = File.join(File.dirname(__FILE__), 'lib', 'templates', 'locales')
-['en-US.rb', 'en-US.yml', 'de-AT.yml'].each do |locale|
+['en.rb', 'en.yml', 'de.yml'].each do |locale|
   FileUtils.cp(File.join(locales_template_dir, locale), File.join(locales_dir, locale))
 end
 </diff>
      <filename>install.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,8 +4,8 @@ describe &quot;Date and Time localization&quot; do
   before(:each) do
     # load locale files
     locales_dir = File.dirname(__FILE__) + &quot;/../lib/templates/locales&quot;
-    I18n.load_translations(&quot;#{locales_dir}/en-US.rb&quot;)
-    I18n.load_translations(&quot;#{locales_dir}/en-US.yml&quot;)
+    I18n.load_translations(&quot;#{locales_dir}/en.rb&quot;)
+    I18n.load_translations(&quot;#{locales_dir}/en.yml&quot;)
 
     # set up defaults
     @date_defaults = { :default      =&gt; &quot;%Y-%m-%d&quot;,</diff>
      <filename>spec/localized_dates_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/templates/locales/de-AT.yml</filename>
    </removed>
    <removed>
      <filename>lib/templates/locales/en-US.rb</filename>
    </removed>
    <removed>
      <filename>lib/templates/locales/en-US.yml</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>7468f7adcc88a131d2ee417dbe26968a09f78fba</id>
    </parent>
  </parents>
  <author>
    <name>Andreas Neuhaus</name>
    <email>zargony@zargony.com</email>
  </author>
  <url>http://github.com/clemens/localized_dates/commit/b0cacab580324bca1ba034c207cfba01203f4b1a</url>
  <id>b0cacab580324bca1ba034c207cfba01203f4b1a</id>
  <committed-date>2008-11-21T02:17:42-08:00</committed-date>
  <authored-date>2008-11-21T02:17:42-08:00</authored-date>
  <message>use :en as a default locale (in favor of :en-US)</message>
  <tree>43b840e13d9d2b2379882cd67c71a7ac9edfa0de</tree>
  <committer>
    <name>Andreas Neuhaus</name>
    <email>zargony@zargony.com</email>
  </committer>
</commit>
