Skip to content
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

Issue with language switching #1

Closed
iamdarkle opened this issue Dec 2, 2021 · 2 comments
Closed

Issue with language switching #1

iamdarkle opened this issue Dec 2, 2021 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@iamdarkle
Copy link

I have detected that using the extension the language selector (when installing an additional language pack) stops working, so you cannot change the language of the page and you cannot use it to change the language of FoF Discussion Language, although I think it is not a problem of the latter because you can change the language of the discussions from the integrated selector of FoF Discussion Language.

@rafaucau rafaucau added the bug Something isn't working label Dec 2, 2021
@rafaucau
Copy link
Member

rafaucau commented Dec 2, 2021

Thanks for reporting. I had forgotten this option existed.

@iamdarkle Can you check if it works for you?

You can replace this line in .htaccess

RewriteRule .* - [E="Cache-Vary:flarum_remember,flarum_lscache_vary"]

to this one:

RewriteRule .* - [E="Cache-Vary:flarum_remember,flarum_lscache_vary,locale"]

Then purge all LSCache

@rafaucau rafaucau added documentation Improvements or additions to documentation and removed bug Something isn't working labels Dec 2, 2021
@iamdarkle
Copy link
Author

Yes, thank you very much, it works perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants