Topic-icon multilingual setup

More
6 years 1 month ago #20006 by ivan.milic
Replied by ivan.milic on topic multilingual setup
this is not the site with flashes template??????????

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #20010 by gameover
Replied by gameover on topic multilingual setup
Right !
This is a demo site that explain how to setup multi language menu. This site is recommended by Joomla website.
If you not follow these procedure, multilangual is not functional.

See admin panel and menu setup, it's different between a simple joomla website.

If you want to test on my own website, I can add to admin login for you. But in fact, the problem is just the tag "interior_page" displayed on main page.

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #20021 by milos
Replied by milos on topic multilingual setup
In short, to make your Joomla site multilanguage, you should install additional language(s) as per this page www.hotjoomlatemplates.com/blog/joomla-i...anguage-installation and then create an instance of the core Joomla module for switching languages (in any module position). Each language must have one default home menu item.

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #20025 by gameover
Replied by gameover on topic multilingual setup
Milos,

My site is ready with other languages.

You can see flags in this article : www.gonflage.com/index.php/la-station

the only problem is on main page (start page) ! The div tag is "interior page" and not "not_interior page" in the source code.

Sorry to repeat this point but it is the only problem. Switch a language from one to another is ready.

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #20028 by kjamson
Replied by kjamson on topic multilingual setup
In the index.php file under /template/hot_flashes/, right after the <div class="main_container"> line:

<div class="main_container">
<div class="<?php $menu = JSite::getMenu(); if ($menu->getActive() == $menu->getDefault('en-GB')) { echo "not_"; } if ($menu->getActive() == $menu->getDefault('zh-TW')) { echo "not_"; } if ($menu->getActive() == $menu->getDefault('zh-CN')) { echo "not_"; } if ($menu->getActive() == $menu->getDefault()) { echo "not_"; } ?>interior_page">

insert the if condition to check for the languages you have for the site to add the "not_" prefix to the class name. Hope this resolves your issue.

Cheers.

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago - 6 years 1 month ago #20035 by gameover
Replied by gameover on topic multilingual setup
kjamson you're the best, it works !

You must do the same some lines after on tag "main_area"

I hope these modifications will be integreted in next release.

Best regards
Last edit: 6 years 1 month ago by gameover.

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.152 seconds