You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm on Spree 2.4.9 and rails 4.1.11, it appears that rails enforce_available_locales is not working well with the i18n select_available_locales search box.
The select tag gathers all supported locales by spree and list them in the local presentation, but doing so triggers a Spree.t call of each locale. But when I have enforce_available_locales set to true in my rails application, and allow only a subset of what spree supports, rails i18n throws an invalid locale error when the t method is called on the other locales.
I think spree i18n needs to respect rails enforce_available_locales, and maybe only show the list of available locale by rails in the select tag?
I'm on Spree 2.4.9 and rails 4.1.11, it appears that rails enforce_available_locales is not working well with the i18n select_available_locales search box.
The select tag gathers all supported locales by spree and list them in the local presentation, but doing so triggers a Spree.t call of each locale. But when I have enforce_available_locales set to true in my rails application, and allow only a subset of what spree supports, rails i18n throws an invalid locale error when the t method is called on the other locales.
I think spree i18n needs to respect rails enforce_available_locales, and maybe only show the list of available locale by rails in the select tag?
Here is the detailed error message:
The text was updated successfully, but these errors were encountered: