spree ecommerce: setting default locale to German and stuff
Out Of Date Warning
This article was published on 10/01/2012, this means the content may be out of date or no longer relevant.
You should verify that the technical information in this article is still up to date before relying upon it for your own purposes.
Spree is a fantastic eCommerce Rails-Engine. To change it, to speak German, one has to:
# Gemfile # original repository not compatible at the moment, use fork #gem 'spree_i18n', :git => 'git://github.com/spree/spree_i18n.git' gem 'spree_i18n', :git => 'git://github.com/kares/spree_i18n.git' # sh bundle rake spree_i18n:update_default rake spree_i18n:sync wget https://github.com/svenfuchs/rails-i18n/raw/master/rails/locale/de.yml -O config/locales/rails_de.yml # config/initializers/spree.rb if Spree::Config.instance Spree::Config.set(:default_locale => 'de') end
this should get you started
Reposted from notes.it-jobs-und-stellen.de