Language switcher doesn't link correctly
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! Fledgling
- Posts: 3
- Joined: Wed Aug 01, 2018 1:13 pm
Language switcher doesn't link correctly
Hello guys, since I ve' update to the Joomla version 3.8.1, my language switcher is getting me wrong link to every language. It reflects on the main menu that it doesn't work anymore properly. I ve read that it could depend on the difference between & and & on the URL (I know there is not SEF setup)
The first page you can see it works properly, but when you change language with the flags icon everything screws up
The website is www.defendertech.eu
Anyone can help me please?
Joomla version : 3.8.1
PHP version 7.0
The first page you can see it works properly, but when you change language with the flags icon everything screws up
The website is www.defendertech.eu
Anyone can help me please?
Joomla version : 3.8.1
PHP version 7.0
- Webdongle
- Joomla! Master
- Posts: 44083
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Language switcher doesn't link correctly
Methinks you have setup the language settings incorrectly because it defaults to http://www.defendertech.eu/index.php?lang=it and my browser is set English. Do you have separate menu items for each language or are you using an auto translate ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Aug 01, 2018 1:13 pm
Re: Language switcher doesn't link correctly
Yes, I've got a separate menu item for each language. No autotranslateWebdongle wrote: ↑Wed Aug 01, 2018 11:17 pmMethinks you have setup the language settings incorrectly because it defaults to http://www.defendertech.eu/index.php?lang=it and my browser is set English. Do you have separate menu items for each language or are you using an auto translate ?
I've correct the setup, the default language now is based on the browser language.
Still the problem on. Another solution is setup SEF url but, the actual links have very good seo and position. Don't want to remove it
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Language switcher doesn't link correctly
You have an error in a 3rd party extension
Warning: in_array() expects parameter 2 to be array, null given in /web/htdocs/www.defendertech.eu/home/modules/mod_ic ... nucore.php on line 732
As far as I know, that module is pretty old and was not updated for 2 years
Warning: in_array() expects parameter 2 to be array, null given in /web/htdocs/www.defendertech.eu/home/modules/mod_ic ... nucore.php on line 732
As far as I know, that module is pretty old and was not updated for 2 years
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! Fledgling
- Posts: 3
- Joined: Wed Aug 01, 2018 1:13 pm
Re: Language switcher doesn't link correctly
Yes I see, but if you easily change the language letters in the url, it works everything (also the icemegamenu)infograf768 wrote: ↑Thu Aug 02, 2018 7:45 amYou have an error in a 3rd party extension
Warning: in_array() expects parameter 2 to be array, null given in /web/htdocs/www.defendertech.eu/home/modules/mod_ic ... nucore.php on line 732
As far as I know, that module is pretty old and was not updated for 2 years
http://www.defendertech.eu/index.php?lang=en
TO
http://www.defendertech.eu/index.php?lang=fr
OR
http://www.defendertech.eu/index.php?lang=de
AND SO ON
But if you click through the flags something goes wrong
- Webdongle
- Joomla! Master
- Posts: 44083
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Language switcher doesn't link correctly
viewtopic.php?f=714&t=793531 please
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Enthusiast
- Posts: 139
- Joined: Wed Dec 22, 2010 2:03 am
- Location: Whatawhata, New Zealand
Re: Language switcher doesn't link correctly
OK, not sure what is/was going on, but I tried installing Italian, setup a temp article, etc. and it worked. I deleted all of the German items, re-installed it all, setup new categories, menu, etc., and it now works.
- Webdongle
- Joomla! Master
- Posts: 44083
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Language switcher doesn't link correctly
Could be cache. Could be a 3rd party extension that's why I requested the fpa report viewtopic.php?f=714&t=793531
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".