-
Notifications
You must be signed in to change notification settings - Fork 153
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
Remove forced redirect to English for PNI #4381
Conversation
4125fef
to
dacde26
Compare
@@ -408,6 +408,7 @@ | |||
|
|||
LOCALE_PATHS = ( | |||
os.path.join(BASE_DIR, 'locale'), | |||
os.path.join(BASE_DIR, 'networkapi/buyersguide/templates/about/locale'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just realized that files in this folder were correctly extracted, but translations were NOT picked up by Django.
Looks like we need to specify that path, as it’s not the default [app name]/locale
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, good new tests =)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Closes #4379
Removing forced /en/ redirect for PNI and adding back language switcher in footer.
https://foundation-s-pni-lang-s-i6oqgg.herokuapp.com/fr/privacynotincluded/
(This time, with the correct branch)