Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Update Language Settings Information #62

Open
Kagetsuki opened this issue Sep 18, 2012 · 2 comments
Open

Update Language Settings Information #62

Kagetsuki opened this issue Sep 18, 2012 · 2 comments

Comments

@Kagetsuki
Copy link

Spree::Config.default_locale no longer exists, and stale initializers will cause issues. The documentation should be updated to reflect this. Something like:

If you are upgrading from a previous version of Spree please be aware Spree::Config.default_locale is no longer used. Any initialzers trying to set it should be removed.

To set the default language simply set config.i18n.default_locale in config/application.rb to your desired language. EG:
config.i18n.default_locale = :ja

@runlevel5
Copy link
Member

@Kagetsuki can you please submit a pull request?

@jay2u
Copy link

jay2u commented Oct 20, 2012

@Kagetsuki I'd be more than happy to rewrite the guides to reflect this. Can you get in contact with me to describe this phenomenon in more detail? I've researched the issue but need more info to be able to pinpoint the specifics.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants