Site with 2 different language menu (modules) problem
Posted: 19 Feb 2014, 12:16
Hi.
I have a site with 2 different menus (only one visible at a time) in different languages pointing to articles in the site.
Each menu (and its' submenu) basically point to articles in their respective languages.
The default home page is in English. The user can switch languages through flag icons.
The menus are assigned to the articles in their languages from the menu module manager.
Both menus have an entry (English and Russian) pointing to Phocagallery category view (set in the menu manager).
The problem is that when entering the category it works (menus don't change) but once inside a category the language changes to always the same. Phoca gallery back button points to one language only too, and doesn't remember the parent. So for instance I entered the gallery in English, after viewing inside a category a listing of pictures and pressing the back button I am reverted to Russian. Or vice versa. It all depends of my last saving in the menu manager or my tweaking in menu module manager. In module menu manager I can select display menu everywhere but if I do this for the 2 menus then they both appear. Even when creating an article and then displaying categories from there with the help of Phocagallery Article Plugin it does the same. Once inside a category it goes back to the same language all the time irrespective of the previous language it was entered with. I have tried creating also hidden menus for the categories but it doesn't make a difference.
Thank you for any ideas.
PS. I am not trying to install different languages into Phocagallery itself, my concern is about my site's menus.
So basically everything works fine but only for one language. If the user has chosen the other language on the site he will be forced out
and switched once he has entered a phocagallery category.
I have a site with 2 different menus (only one visible at a time) in different languages pointing to articles in the site.
Each menu (and its' submenu) basically point to articles in their respective languages.
The default home page is in English. The user can switch languages through flag icons.
The menus are assigned to the articles in their languages from the menu module manager.
Both menus have an entry (English and Russian) pointing to Phocagallery category view (set in the menu manager).
The problem is that when entering the category it works (menus don't change) but once inside a category the language changes to always the same. Phoca gallery back button points to one language only too, and doesn't remember the parent. So for instance I entered the gallery in English, after viewing inside a category a listing of pictures and pressing the back button I am reverted to Russian. Or vice versa. It all depends of my last saving in the menu manager or my tweaking in menu module manager. In module menu manager I can select display menu everywhere but if I do this for the 2 menus then they both appear. Even when creating an article and then displaying categories from there with the help of Phocagallery Article Plugin it does the same. Once inside a category it goes back to the same language all the time irrespective of the previous language it was entered with. I have tried creating also hidden menus for the categories but it doesn't make a difference.
Thank you for any ideas.
PS. I am not trying to install different languages into Phocagallery itself, my concern is about my site's menus.
So basically everything works fine but only for one language. If the user has chosen the other language on the site he will be forced out
and switched once he has entered a phocagallery category.