?
avatar renekorss
renekorss
15 Jan 2016

Steps to reproduce the issue

User should have default settings for languages. Edit profile > Basic settings > Backend Language > - Use default -

  1. Install new language (Extensions > Language(s) > Install language).
  2. Set newly installed language as default to administrator.
  3. Log out.
  4. Log in again.

Expected result

  • Administrator side should be in newly installed default language.

Actual result

  • Administrator side is in english.

System information

  • Joomla! 3.4.8

Additional comments

  • Login view is in newly installed default language (not neglish).
  • Debugging language shows no errors.
  • I could investigate this if someone verifies it.

Votes

# of Users Experiencing Issue
0/1
Average Importance Score
1.00

avatar renekorss renekorss - open - 15 Jan 2016
avatar anabarcellos
anabarcellos - comment - 15 Jan 2016

When you say "install new language", you mean from "Extensions" > "Language(s)" > "Install language" button, right?

Since my intranet websites can't connect to internet, I install language packages using "Extensions" > "Manage" > "Install" > Upload Package File.

I have just tested here (Joomla 3.4.8) and this issue didn't happen. I don't need even to logout and login again to have my Control Panel in the new language. It is automatic for me, in the moment that I set the new one. If I logout and login, I still see the Control Panel in the new language.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8906.

avatar infograf768
infograf768 - comment - 16 Jan 2016

When logout/login and the user preferred administrator language is NOT set to default or NOT to the newly installed language but to another language, it is this other language that will be used. In your case en-GB.

avatar renekorss
renekorss - comment - 16 Jan 2016

@anabarcellos Yes, "Install language" button.
@infograf768 My user settings are all set to default.

avatar infograf768
infograf768 - comment - 16 Jan 2016

I can't reproduce your issue.

avatar infograf768
infograf768 - comment - 16 Jan 2016

Have you deleted all Caches? Joomla and Browser?

avatar brianteeman brianteeman - change - 16 Jan 2016
Labels Added: ?
avatar renekorss
renekorss - comment - 16 Jan 2016

@infograf768 Yes, I have deleted all caches. Didn't help. Only way I could get desired language was to select it on login. Even setting it under user profile didn't help.

Could it be somehow from server configuration? Where is language set on source? Can't check source right now. Also, all other clients sites running on our company server and on 3.4.8 (upgraded) works fine. Only this has problems (client server, fresh 3.4.8 install).

avatar renekorss
renekorss - comment - 21 Jan 2016

@infograf768

I investigated this issue and found out that client server is running with Suhosin PHP extension with suhosin.post.disallow_nul = 1 which results empty $_POST variables to be removed. So there is no lang key in $_POST.

Therefore on login, settings language will always default to en-GB in here.

$lang = $this->input->getCmd('lang', 'en-GB');

Solution would be to remove 'en-GB' and if it's empty, it would use default language like expected.

avatar infograf768 infograf768 - change - 27 Jan 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-01-27 09:28:11
Closed_By infograf768
avatar infograf768
infograf768 - comment - 27 Jan 2016
avatar joomla-cms-bot joomla-cms-bot - close - 27 Jan 2016
avatar joomla-cms-bot joomla-cms-bot - close - 27 Jan 2016
avatar infograf768
infograf768 - comment - 27 Jan 2016

Closing as we have a patch #8956


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8906.

Add a Comment

Login with GitHub to post a comment