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

Setting default_language = en does not work #9404

Closed
iMarkus opened this issue Dec 17, 2015 · 3 comments
Closed

Setting default_language = en does not work #9404

iMarkus opened this issue Dec 17, 2015 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@iMarkus
Copy link
Contributor

iMarkus commented Dec 17, 2015

In our case we tried to set 'en' as default language but it did not work so far. In the global.ini.php we found the following lines

; if you want all your users to use Piwik in only one language, disable the LanguagesManager
; plugin, and set this default_language (users won't see the language drop down)
default_language = en

Also with LanguagesManager disabled (removed from global.ini.php), Piwik always switches Language and displays the language drop down in the user settings.

Can anybody reproduce this?

@sgiehl sgiehl added the answered For when a question was asked and we referred to forum or answered it. label Dec 17, 2015
@sgiehl
Copy link
Member

sgiehl commented Dec 17, 2015

You may need to remove it from global.ini.php and from config.ini.php.

@sgiehl sgiehl closed this as completed Dec 17, 2015
@iMarkus
Copy link
Contributor Author

iMarkus commented Dec 18, 2015

Hi,
I removed it from both configs but it still behaves the same.

Regards

@sgiehl
Copy link
Member

sgiehl commented Dec 19, 2015

I did a small test: removed it from both configs, set the default language to fr and opened piwik with a user that was configured to german before. Piwik was then displayed in french as expected.

Which version did you use? And could you provide a small description how you produce the misbehavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants