spree-contrib / spree_i18n

I18n translation files for Spree Commerce.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
348 stars 762 forks source link
ecommerce i18n internationalization rails spree spree-commerce translation

Spree Internationalization

Build Status Code Climate

This is the Internationalization project for Spree Commerce See the official Internationalization documentation for more details.

Happy translating!

Maintained by

Vendo

All-in-one platform for all your Marketplace and B2B eCommerce needs. Start your 30-day free trial

Installation

  1. Add this extension to your Gemfile with this line:

    gem 'spree_i18n'
  2. Install the gem using Bundler:

    bundle install
  3. Copy & run migrations

    bundle exec rails g spree_i18n:install
  4. Restart your server

    If your server was running, restart it so that it can find the assets properly.

Upgrading to 5.0 (only Spree 4.2+)

1. Remove Asset references

From vendor/assets/javascripts/spree/backend/all.js

//= require spree/backend/spree_i18n

and from vendor/assets/javascripts/spree/frontend/all.js

//= require spree/frontend/spree_i18n

and from vendor/assets/stylesheets/spree/backend/all.css

*= require spree/backend/spree_i18n

and from vendor/assets/stylesheets/spree/frontend/all.css

*= require spree/backend/spree_i18n

Contributing

See corresponding guidelines


Copyright (c) 2010-2015 Spree Commerce Inc. and other contributors. released under the New BSD License