website will not switch back to english

General questions regarding the use of languages in Joomla! 3.x.

Moderators: infograf768, 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.
Post Reply
rotemh
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Thu Jun 27, 2019 12:57 pm

website will not switch back to english

Post by rotemh » Thu Jul 25, 2019 6:46 am

Hi,
I have a multilingual website with english, german, and hebrew. English is default. when I open the browser (usually chrome) the website works perfectly, letting me switch between the languages without a problem back and forth. however, sometimes when I switch to German, the website will "refuse" to switch back to English. I also receive feedback from visitors who tell me that the English switcher does not work for them. is this a known bug? did someone experience a similar behavior?
Thanks for any advice,
Rotem

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 26021
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: website will not switch back to english

Post by Per Yngve Berg » Thu Jul 25, 2019 7:10 am

Probably an article or menu item that are not asociated with items in the other languages.

rotemh
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Thu Jun 27, 2019 12:57 pm

Re: website will not switch back to english

Post by rotemh » Thu Jul 25, 2019 7:57 am

I double checked but they are all associated properly. as said, when the browser opens everything works fine and it stops switching to English only at some point (I cannot identify any pattern that lead to this malfunction). when this happens, the website will automatically change to German even when I manually set the url to be without the language code (this means default - English), although I have set in the language filter module "automatic language change" to no.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18871
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: website will not switch back to english

Post by infograf768 » Thu Jul 25, 2019 2:30 pm

Are you using 3rd party extensions?
Are you using cache? Which?
What is your Joomla Version?
Have you tested with Protostar template?
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

rotemh
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Thu Jun 27, 2019 12:57 pm

Re: website will not switch back to english

Post by rotemh » Thu Jul 25, 2019 6:14 pm

Are you using 3rd party extensions? -I'm using the Joomla multilingual core system. The only extensions that in my intuition could affect are nicepage editor and jch-optimize.

Are you using cache? Which? -currently memcache but the problem existed also with file-system

What is your Joomla Version? -3.9.10 (latest)

Have you tested with Protostar template? -no

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18871
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: website will not switch back to english

Post by infograf768 » Fri Jul 26, 2019 5:27 am

Please test with Protostar.
Also disable the 3rd party extensions and test again, enabling them back one by one after being sure they are not the culprit.
I have read that nicepage templates may not be compatible with quite a few aspects of J! or some 3rd party extensions.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

rotemh
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Thu Jun 27, 2019 12:57 pm

Re: website will not switch back to english

Post by rotemh » Fri Jul 26, 2019 10:32 am

update: what has solved the issue after playing around is setting in the Language Filter plugin Cookie Lifetime to session instead of Year. In my opinion this is a Joomla bug.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18871
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: website will not switch back to english

Post by infograf768 » Fri Jul 26, 2019 10:51 am

Session is the default when installing Joomla.
Results of Year may depend on where you come from. This is why we added Session in 2013. We left Year for B/C reasons.
https://developer.joomla.org/joomlacode ... 30079.html
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

rotemh
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Thu Jun 27, 2019 12:57 pm

Re: website will not switch back to english

Post by rotemh » Fri Jul 26, 2019 11:47 am

I know that Session is the default but if Year might cause issues then in my opinion it should be either removed or there should at least be a warning that it's for B/C purpose. why put an obstacle in front of a blind man...?

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18871
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: website will not switch back to english

Post by infograf768 » Fri Jul 26, 2019 4:41 pm

In fact, looking at my notes from that time, there was another reason we left Year: it specially concerned Intranets.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Post Reply

Return to “Language - Joomla! 3.x”