-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login page does not accept locales (Version 1.1.1) #10
Comments
Do you have |
I've got this: SolidusI18n::Config.available_locales = [:en, :sk] # displayed on frontend select box
SolidusGlobalize::Config.supported_locales = [:en, :sk] # displayed on translation forms In my spree.rb file Rest of the web work fine (meaning locales). There are a few more bugs and malfunctions out there (I'm little bit vexed by it). |
Ok, thanks. I guess the problem is that the login controller ( We should also I will provide a pull request that fixes that. Meanwhile you can fix this by manually adding this into your app: # config/initializers/spree_i18n.rb
Spree::UserSessionsController.class_eval do
include SolidusI18n::ControllerLocaleHelper
end |
I've got no such file in my app. Can I create the new one? |
Yes, please. |
Oki... It works! But... the same situation at http://localhost:3000/sk/admin/login :-) |
Yes, there are much more controllers that need to be patched. They should inherit from |
Me, you or someone else? :-) |
I will do. |
Can you inform me then? |
I'm not quite sure if I properly understand... Partly due to my english and partly due to my poor coding skills. |
@modreoci just a reminder, that this is still in progress. Currently you can't do anything but wait, sorry. |
tvdeyen, What's the status on this one? I can't get the locale form to show up on frontend |
It displays still in the default language.
The text was updated successfully, but these errors were encountered: