test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • scittadini Friend
    #198550

    Hi all,
    Running into something that is going to cause a pain so looking for alternate solutions.
    Ok so we have a main US site with 8 different languages.
    The solution I have been given to display the translated languages for those menus is to create a new template for each language. So if i have just 5 different templates i need to duplicate those x8 just for the language. Seems like a huge pain in the ace!

    So what i was thinking is why can’t i pivot off the language of the page in the header.php where the menu is being built and just display the menu i want.

    Now you will have to forgive me as i am somewhat new to Joomla and been diving into the code so not exactly sure what is possible at what point and what the syntax would be.

    But the way i would like the header.php (menu portion) to work is something like below (no clue on syntax just using plain english)

    if lang = ‘fr’
    display -> FrenchMenu;

    else if lang = ‘de’
    display -> GermanMenu;

    else
    display -> EnglishMenu;

    I would work this into a switch but i think you get the point. Is something like this possible at this point?

    Steve

    Adam M Moderator
    #538306

    Hi Steve,

    I wonder if you have chance to have a look at our JA Multilingual component. You might want to give it a try.

    This documentation can give you more details about this component.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Adam M 10 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum