- Posts: 14116
- Thank you received: 1639
multilingual setup
-
ivan.milic
Support Staff - Moderator
Less
More
12 years 3 months ago #20006
by ivan.milic
Replied by ivan.milic on topic Re: multilingual setup
this is not the site with flashes template??????????
Please Log in to join the conversation.
-
gameover
Inactive member - New Member
Less
More
- Posts: 13
- Thank you received: 0
12 years 3 months ago #20010
by gameover
Replied by gameover on topic Re: 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.
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 to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6720
- Thank you received: 711
12 years 3 months ago #20021
by milos
Replied by milos on topic Re: 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 to join the conversation.
-
gameover
Inactive member - New Member
Less
More
- Posts: 13
- Thank you received: 0
12 years 3 months ago #20025
by gameover
Replied by gameover on topic Re: 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.
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 to join the conversation.
-
kjamson
Inactive member - Topic Author
- Member
Less
More
- Posts: 25
- Thank you received: 0
12 years 3 months ago #20028
by kjamson
Replied by kjamson on topic Re: 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.
<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 to join the conversation.
-
gameover
Inactive member - New Member
Less
More
- Posts: 13
- Thank you received: 0
12 years 3 months ago - 12 years 3 months ago #20035
by gameover
Replied by gameover on topic Re: 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
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: 12 years 3 months ago by gameover.
Please Log in to join the conversation.
Time to create page: 0.223 seconds