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
{{ message }}
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
I installed spree_i18n and spree_globalize in my spree 3.7 app with spree_static_content.
I created a page About with slug '/about'.
I have set my application with classic i18n, following the official spree guide. So, I access pages like this:
domain.com/about -> this one will be in English (default language)
domain.com/fr/about -> this one will be in French
But, when I access domain.com/fr/about I get: "page not found" error.
I looked at the log and I found that spree_static_content is trying to find a page with slug "/fr/about" instead of just "/about".
Is this an expected behavior? Should I set '/fr/about' as French slug? I find that a little bit weird to have the locale included in the slug... Why the gem doesn't only take the path after the ':locale' param as slug to be searched?
Thanks!
The text was updated successfully, but these errors were encountered:
I installed spree_i18n and spree_globalize in my spree 3.7 app with spree_static_content.
I created a page About with slug '/about'.
I have set my application with classic i18n, following the official spree guide. So, I access pages like this:
domain.com/about -> this one will be in English (default language)
domain.com/fr/about -> this one will be in French
But, when I access domain.com/fr/about I get: "page not found" error.
I looked at the log and I found that spree_static_content is trying to find a page with slug "/fr/about" instead of just "/about".
Is this an expected behavior? Should I set '/fr/about' as French slug? I find that a little bit weird to have the locale included in the slug... Why the gem doesn't only take the path after the ':locale' param as slug to be searched?
Thanks!
The text was updated successfully, but these errors were encountered: