:wave: Hi everyone! I'm new to Solidus. I'm just t...
# general
p
👋 Hi everyone! I'm new to Solidus. I'm just trying to play a bit around with it and create a small store for my wife. I'm a RoR Developer, but I still have some doubts about small bits. Where can I find some resources about I18n for the dashboard and the storefront? I haven't put too much time yet, but I want to see if there is a better way than just overriding all the locales to another language not really familiar with I18n.
k
Welcome to Solidus! You can take a look at: https://github.com/solidusio/solidus_i18n which contains a lot of translations.
p
Thanks for pointing me here, but I need clarification, or the docs need to be clarified. The rake task doesn't work with Solidus 4.3, and how can I make the backend always in ES, for example?
The only rake task is the upgrade one, but the docs suggest running this code.
Copy code
bundle exec rake solidus_i18n:update_default
bundle exec i18n-tasks add-missing --nil-value --locale <LOCALE>
what fails when run
k
the rake task is for updating the translation, and needs to be run in the gem, not in your application
for changing the default locale in your application, if I recall correctly you can just follow the Rails guide on the topic: https://guides.rubyonrails.org/i18n.html#setup-the-rails-application-for-internationalization