Page 1 of 1

Language changes when you press back or menu button

Posted: Sun Apr 28, 2019 12:20 pm
by LouiseVo
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?

Re: Language changes when you press back or menu button

Posted: Sun Apr 28, 2019 2:29 pm
by Per Yngve Berg
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.

Re: Language changes when you press back or menu button

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

Re: Language changes when you press back or menu button

Posted: Mon Apr 29, 2019 12:31 pm
by LouiseVo
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.

Re: Language changes when you press back or menu button

Posted: Mon Apr 29, 2019 12:44 pm
by LouiseVo
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?

Re: Language changes when you press back or menu button

Posted: Mon Apr 29, 2019 3:54 pm
by infograf768
Just send me a PM with the url of your backend + credentials for a superuser account

Re: Language changes when you press back or menu button

Posted: Wed May 01, 2019 10:19 am
by infograf768
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.

Re: Language changes when you press back or menu button

Posted: Wed May 01, 2019 11:49 am
by LouiseVo
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.

Re: Language changes when you press back or menu button

Posted: Thu May 02, 2019 8:04 am
by infograf768
ccomment free is indeed playing with cookies. Looks like the developer did not take multilingual settings into account.