How to configure so that the website opens with a default language.
Thanks for the help
You can do it by coding. Edit the file
config/application_custom.rb and change the default language by adding the following line:
config.i18n.default_locale = :es
You can also change the available languages in the same file by adding:
config.i18n.available_locales = [:es, :en]
Remember to restart the server when running in production mode.
I hope it helps.