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

CultureKey From Context Settings #66

Open
smartmmm opened this issue May 27, 2020 · 0 comments
Open

CultureKey From Context Settings #66

smartmmm opened this issue May 27, 2020 · 0 comments

Comments

@smartmmm
Copy link

smartmmm commented May 27, 2020

When setting a different cultureKey in context settings, lingua.cultureKey keeps pulling the value from the main settings.

I have a website in a context where I would like to have the default frontend languge different from the main settings. [[++cultureKey]] gives the proper key 'de' as set in context settings, [[+lingua.cultureKey]] shows 'en'.

After some digging around I noticed that if you leave the cultureKey in system settings blank, the frontend display is correctly based upon the context cultureKey. Unfortunately the manager won't show the dropdown option to switch between languages, no matter what cultureKey setting in the context.

Looking at the plugin I wonder if that issue had been adressed before, as some lines seem to be experimenting with this?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

No branches or pull requests

1 participant