Strange language behaviour after upgrade to 3.4.2 (or 3.4.3)
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 10
- Joined: Fri Oct 11, 2013 8:44 am
- Contact:
Strange language behaviour after upgrade to 3.4.2 (or 3.4.3)
After upgrading to 3.4.2 we noticed that when users login (or logout) from our website, the language switches to another language. To be precise, it switches to the language that is sorted to the last place inside the content language manager (see picture). And even more: it only does this when SEF if turned off.
Anyone having this problem?
Anyone having this problem?
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Apprentice
- Posts: 10
- Joined: Fri Oct 11, 2013 8:44 am
- Contact:
Re: Strange language behaviour after upgrade to 3.4.2 (or 3.
When logging in through ?option=com_users (component) there is no problem. It only occurs when using the mod_login (no template override)
-
- Joomla! Apprentice
- Posts: 10
- Joined: Fri Oct 11, 2013 8:44 am
- Contact:
Re: Strange language behaviour after upgrade to 3.4.2 (or 3.
Compared the modules\mod_login folders between 3.4.0 and 3.4.2/3 and found out that the "helper.php" file is almost complete redone. When using the 3.4.0 file on my 3.4.3 Joomla site, the problem was gone.
Can someone have a look at this!
Can someone have a look at this!
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Strange language behaviour after upgrade to 3.4.2 (or 3.
The redirect from the login depends on the default site language defined for the user IF "Automatic Change" is set in the language filter parameters.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
- estas
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Jan 20, 2009 3:40 pm
- Location: Belgium
- Contact:
Re: Strange language behaviour after upgrade to 3.4.2 (or 3.
Same problem here. Checked language filter parameters but that is not the problem. After logon through the module, language changes to whatever language is on last place within the content language manager.
Changing the helper.php file fixed it for me, but i'm not happy with this solution. A better solution would be that it gets fixed. Alternative solutions could be not to use the module at all and link to component page. Or use an 3th party login module.
For now (until it is fixed) i will use the solution Europower provided.
Changing the helper.php file fixed it for me, but i'm not happy with this solution. A better solution would be that it gets fixed. Alternative solutions could be not to use the module at all and link to component page. Or use an 3th party login module.
For now (until it is fixed) i will use the solution Europower provided.
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Strange language behaviour after upgrade to 3.4.2 (or 3.
Please create a tracker issue with detailed instructions (user preferred language, browser preferred language, login module parameters, etc.) to reproduce the problem on
http://issues.joomla.org/
http://issues.joomla.org/
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 10
- Joined: Fri Oct 11, 2013 8:44 am
- Contact:
Re: Strange language behaviour after upgrade to 3.4.2 (or 3.
Issue is posted Joomla tracker system http://issues.joomla.org/tracker/joomla-cms/7348
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Strange language behaviour after upgrade to 3.4.2 (or 3.
@europower
You are using Falang. You better contact the Falang developer as I can't repoduce the issue on a pure Joomla!.
You are using Falang. You better contact the Falang developer as I can't repoduce the issue on a pure Joomla!.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 10
- Joined: Fri Oct 11, 2013 8:44 am
- Contact:
Re: Strange language behaviour after upgrade to 3.4.2 (or 3.
Already did that. First responds is that login redirect is done by the language filter plugin which is a core plugin and not an falang plugin.
Still strange that the "helper.php" trick from version 3.4.0 is working!
Still strange that the "helper.php" trick from version 3.4.0 is working!
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Strange language behaviour after upgrade to 3.4.2 (or 3.
Here are the changes that were brought to the login module helper:
https://github.com/joomla/joomla-cms/co ... helper.php
Can you test one by one to see which one broke your settings?
https://github.com/joomla/joomla-cms/co ... helper.php
Can you test one by one to see which one broke your settings?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Enthusiast
- Posts: 145
- Joined: Thu Mar 12, 2009 11:34 am
Re: Strange language behaviour after upgrade to 3.4.2 (or 3.
Hi,
I found the problem but not yet the solution.
The problem occur if the mod_falang is before the mod_login.
This is due to this line when i build the $language->link
$uri->setVar('lang',$language->sef);
$language->link = JUri::getInstance()->toString(array('scheme', 'host', 'port', 'path', 'query'));
I'm working on a patch , the new Falang 2.1 was ready. i will wait a little more.
Stéphane
Falang Team
I found the problem but not yet the solution.
The problem occur if the mod_falang is before the mod_login.
This is due to this line when i build the $language->link
$uri->setVar('lang',$language->sef);
$language->link = JUri::getInstance()->toString(array('scheme', 'host', 'port', 'path', 'query'));
I'm working on a patch , the new Falang 2.1 was ready. i will wait a little more.
Stéphane
Falang Team
-
- Joomla! Apprentice
- Posts: 10
- Joined: Fri Oct 11, 2013 8:44 am
- Contact:
Re: Strange language behaviour after upgrade to 3.4.2 (or 3.
Thanks Stéphane. Looks like that fixed the problem.
Great support from FaLang team. Keep up the good work.
Great support from FaLang team. Keep up the good work.
-
- Joomla! Enthusiast
- Posts: 145
- Joined: Thu Mar 12, 2009 11:34 am
Re: Strange language behaviour after upgrade to 3.4.2 (or 3.
Thanks but it work only 3.4.3 (may be 3.4.2)
I will put this in the next release on monday probably 13/07
Stéphane
I will put this in the next release on monday probably 13/07
Stéphane