Problems with Menus in Multilanguage Site

General questions regarding the use of languages in Joomla! 2.5.

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.
Locked
jordatormo
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Sat May 07, 2011 4:23 pm

Problems with Menus in Multilanguage Site

Post by jordatormo » Thu Feb 02, 2012 11:13 am

Hi,
I am building a multilingual site with the template cloudbase2, which is powered by Gantry.
I have followed step by step the instructions of the manual writeen by Jean-Marie Simonet http://help.joomla.org/files/EN-GB_mult ... torial.pdf.
The template I am using allows you to control the menu in the template configuration, so you can have a nice Fusion menu.

To make sure, I am not missing anything I have built in three kind of menus:

One Menu module for each language
One RockNavMenu module for each language
One Gantry menu for each language (those included in the template)


Now I have TWO problems:

1) After configuring everything as explained in the manual, if I add more menu items, these new menus can only be seen on the language directory followed by a /
Please compare:
http://www.danieljorda.com/es (this is default page when you write my domain in the browser)
AND
http://www.danieljorda.com/es/

What can I do to avoid this? Any ideas?

2) As I have set up three different menu to check out what happens, if I unpublish the two menu module types "Menu" and "RockNavMenu", they still appear on the home page, but disappear on the other menu items. Compare http://www.danieljorda.com/es/ AND http://www.danieljorda.com/es/servicios.html. The menus in red coloured letters have disappeared.

I have been working on this for three whole days and I can't make it work properly. I have also activated the Administrator module "Multilanguage status" and there are no warnings, everything is ok.

I appreciate your help on this.
Kind regards,

Daniel

jordatormo
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Sat May 07, 2011 4:23 pm

Re: Problems with Menus in Multilanguage Site

Post by jordatormo » Thu Feb 02, 2012 11:22 am

A short explanation to problem 1) :
I have first built menu items for the home of every language (i.e. the menu item with the flag). Afterwards, I have activated the plugin "System - Language Filter" and then I have created the new menu item "Servicios".
Thanks again!

jordatormo
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Sat May 07, 2011 4:23 pm

Re: Problems with Menus in Multilanguage Site

Post by jordatormo » Thu Feb 02, 2012 11:31 am

Sorry if you took the time to read this post. It seems it is working now and that I only had to wait ten minutes or so to let the changes apply. I'll be glad to help if you have any problems with this.

karencho
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Mon Jun 29, 2009 3:19 pm

Re: Problems with Menus in Multilanguage Site

Post by karencho » Mon Feb 20, 2012 1:24 pm

Hello jordatormo

I am using Gantry template to create a multilingual site. At the moment i have two languages, english and russian. When I change the language from english to ruassian everything works fine excpet Gantry menu & sub menu. I get errors :( I checked your site and your Language Switcher works fine without any erros.
Could you please try to help me?? Any suggestions how can i fix it? http://hayashen.com/es/en/

I am using Joomla! 1.7.3 Stable and Gantry 3.2.13

Thank you sir

error codes
************************
Warning: array_key_exists() [function.array-key-exists]: The second
argument should be either an array or an object in /home/u977976639/
public_html/es/modules/mod_roknavmenu/lib/providers/
RokMenuProviderJoomla16.php on line 43

Warning: Invalid argument supplied for foreach() in /home/u977976639/
public_html/es/modules/mod_roknavmenu/lib/providers/
RokMenuProviderJoomla16.php on line 185

Warning: array_key_exists() [function.array-key-exists]: The second
argument should be either an array or an object in /home/u977976639/
public_html/es/modules/mod_roknavmenu/lib/providers/
RokMenuProviderJoomla16.php on line 201

Warning: array_key_exists() [function.array-key-exists]: The second
argument should be either an array or an object in /home/u977976639/
public_html/es/modules/mod_roknavmenu/lib/providers/
RokMenuProviderJoomla16.php on line 43

Warning: Invalid argument supplied for foreach() in /home/u977976639/
public_html/es/modules/mod_roknavmenu/lib/providers/
RokMenuProviderJoomla16.php on line 185

Warning: array_key_exists() [function.array-key-exists]: The second
argument should be either an array or an object in /home/u977976639/
public_html/es/modules/mod_roknavmenu/lib/providers/
RokMenuProviderJoomla16.php on line 201
************************

jordatormo
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Sat May 07, 2011 4:23 pm

Re: Problems with Menus in Multilanguage Site

Post by jordatormo » Mon Feb 20, 2012 1:38 pm

Hi,
in the template manager, you should duplicate the template and create one instance for every language. Maybe that's where the problem comes from...
Daniel

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

Re: Problems with Menus in Multilanguage Site

Post by infograf768 » Mon Feb 20, 2012 3:41 pm

Looks like it is an error in the code of
modules/mod_roknavmenu/lib/providers/RokMenuProviderJoomla16.php

maybe your gantry framework is not up to date with J 1.7.x
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

karencho
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Mon Jun 29, 2009 3:19 pm

Re: Problems with Menus in Multilanguage Site

Post by karencho » Tue Feb 21, 2012 1:02 am

Hello Guys
Thank you so much for the reply

infograf768 I updated to the latest version of gantry_joomla_framework-3.2.16. stiil getting the errors.

Daniel I did duplicate the template. I have 3 templates, default, english and russian templates. Still not working

if i give you my details can somenoe please take a look at the backend of my site??

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

Re: Problems with Menus in Multilanguage Site

Post by infograf768 » Tue Feb 21, 2012 8:04 am

Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

karencho
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Mon Jun 29, 2009 3:19 pm

Re: Problems with Menus in Multilanguage Site

Post by karencho » Tue Feb 21, 2012 7:14 pm

Mr infograf768 thank you so much :)

Thank you Daniel

User avatar
Chamira Athauda
Joomla! Guru
Joomla! Guru
Posts: 504
Joined: Sat Apr 21, 2012 2:15 am
Location: Sri Lanka

Re: Problems with Menus in Multilanguage Site

Post by Chamira Athauda » Tue Aug 21, 2012 2:03 pm

Yes, thanks infograf768 , that linked saved the day for me too. :pop

Tutorials &etc always deal with plain vanilla Joomla installations and there are added layers of complication when extensions such as K2 and template specific menus are used.

RocketTheme fusion menus only seem to work with duplicated templates for multi-language sites.

It's a shame that Menu Associations don't work either.


Locked

Return to “Language - Joomla! 2.5”