Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Commit b0dca47

Browse files
damianlegawiecgitbook-bot
authored andcommitted
GitBook: [master] one page modified
1 parent 1a8b9f9 commit b0dca47

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

upgrades/upgrades/four-dot-one-to-four-dot-two.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ gem 'spree_i18n', '~> 5.0'
2727

2828
## Remove SpreeMultiCurrency \(optional\)
2929

30-
If you used that gem in the past you need to remove it. Multi Currency is now incorporated into Spree core and you cannot use that gem anymore.
30+
If you used that gem in the past you need to remove it. Multi-Currency is now incorporated into Spree core and you cannot use that gem anymore.
3131

3232
1. Remove `spree_multi_currency` from your `Gemfile`
3333
2. Remove these preferences from your Spree initializer \(`config/initializers/spree.rb`\):
@@ -37,7 +37,13 @@ If you used that gem in the past you need to remove it. Multi Currency is now in
3737
3. Remove `//= require spree/frontend/spree_multi_currency` from `vendor/assets/javascripts/spree/frontend/all.js`
3838
4. Remove `//= require spree/backend/spree_multi_currency` from `vendor/assets/javascripts/spree/backend/all.js`
3939

40-
## Add `deface` gem \(optional\)
40+
## \(Optional\) Remove SpreeI18n config
41+
42+
All international configuration is now kept on the `Store` model in the database rather than in initializer files.
43+
44+
If you used `spree_i18n` gem before please remove any `SpreeI18n::Config`references from your `config/initializers/spree.rb` file.
45+
46+
## \(Optional\) Add `deface` gem \(optional\)
4147

4248
If you used [Deface overrides](../../advanced/deface_overrides_tutorial.md#organizing-overrides) you will need to include `deface` in your `Gemfile` as it was removed from Spree / Spree Auth Devise / Spree Gateway dependencies.
4349

0 commit comments

Comments
 (0)