Thanks for the tip and I'm sorry I should have been more specific. I just need to set 2 separate static locales like this:
Spree::Frontend::Config.locale = :en
Spree::Backend::Config.locale = :ru
So front-end is always in English and back-end in Russian.
There was an issue already on this and looks like Ryan Biggs addressed it when splitting core in front-end and back-end https://github.com/spree/spree/issues/1946
I just couldn't find where to put the code and what code should be like.
пятница, 25 октября 2013 г., 23:12:38 UTC+4 пользователь Washington Luiz написал: