Language changes when you press back or menu button Topic is solved

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
LouiseVo
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sat Jan 13, 2018 5:38 pm

Language changes when you press back or menu button

Post by LouiseVo » Sun Apr 28, 2019 12:20 pm

Hi,

I'm using Joomla 3.9.5 and Purity iii template. I've made menus in Dutch, British and American. The default language is Dutch. Language switching was working perfectly until I made subcategories. Every time when you look at a product and click on back or the main menu item to go back to the head category the language switches to British. I can't find what the problem is.

The languages of the menu items is set to the correct language. Also the languages of the categories and subcategories is set. If you switch the language by clicking the flags everything works fine. The only thing that goes wrong is if you click on the 'back' button or on the main menu. If you do that then the language switches to British.

Can anybody please help me resolve this?

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

Re: Language changes when you press back or menu button

Post by Per Yngve Berg » Sun Apr 28, 2019 2:29 pm

On a Multi Language site, the default menu item (marked with a star) is not used. It must be in the menu tagged to "All" that is not shown on the site. In the menu for each language, you will have a default menu item for the language marked with a flag.

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

Re: Language changes when you press back or menu button

Post by infograf768 » Sun Apr 28, 2019 2:42 pm

@Louise Vo
hard to help without access to your backend as superuser and having a look at your site.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

LouiseVo
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sat Jan 13, 2018 5:38 pm

Re: Language changes when you press back or menu button

Post by LouiseVo » Mon Apr 29, 2019 12:31 pm

Per Yngve Berg wrote:
Sun Apr 28, 2019 2:29 pm
On a Multi Language site, the default menu item (marked with a star) is not used. It must be in the menu tagged to "All" that is not shown on the site. In the menu for each language, you will have a default menu item for the language marked with a flag.
Hi Per Yngve Berg,

I do have a default menu-item marked as home that does not show and is tagged to "all" (Main Menu). I also have three Main Menu items, one for each language marked with flags.

LouiseVo
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sat Jan 13, 2018 5:38 pm

Re: Language changes when you press back or menu button

Post by LouiseVo » Mon Apr 29, 2019 12:44 pm

infograf768 wrote:
Sun Apr 28, 2019 2:42 pm
@Louise Vo
hard to help without access to your backend as superuser and having a look at your site.
Hi inforgraph768,

I could give you access as superuser. What is the best way to do this?

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

Re: Language changes when you press back or menu button

Post by infograf768 » Mon Apr 29, 2019 3:54 pm

Just send me a PM with the url of your backend + credentials for a superuser account
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

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

Re: Language changes when you press back or menu button

Post by infograf768 » Wed May 01, 2019 10:19 am

I found the issue but did not find the way to solve it...
The problem is that the lang cookie is not set correctly. It goes back to en-GB when it should not.
This is certainly due to one of your 3rd party extensions. There are a bunch of them.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

LouiseVo
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sat Jan 13, 2018 5:38 pm

Re: Language changes when you press back or menu button

Post by LouiseVo » Wed May 01, 2019 11:49 am

Thank you infograf768 for looking into my problem. I deactivated ccomment because that was the latest addition and that seems to be the extention causing the problem. Deactivating the extentsion solved the language issue. Now I have to go and look for a new extention for comments.

Thanks again.

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

Re: Language changes when you press back or menu button

Post by infograf768 » Thu May 02, 2019 8:04 am

ccomment free is indeed playing with cookies. Looks like the developer did not take multilingual settings into account.
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”