Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
7 template
Most important: The YOOtheme templates are fully compatible with the Multilanguage feature
of Joomla.
There are some steps to consider when setting up a Joomla site with more than one language,
though.
In Extensions > Language Manager add a Joomla language "Xyish (xy-XY)" and properly
configure it.
To avoid misunderstandings: "Xyish (xy-XY)" is an entirely made-up example language name, of
course. In your case it could be "Italian (it-IT)", "French (fr-FR)", or any other language.
All menu items of this menu have to be set to Language > Xyish (XY).
1 of the menu item has to be set to Default Page > Yes. If correctly configured it should show
an icon with the language's flag in the column "Home".
In Extensions > Module Manager create a new module of the type "Menu" (or duplicate and
existing one), set Module > Select Menu > Main Menu (XY), set it to Language > Xyish (XY), as
well as Menu Assignment > Module Assignment > On all pages, and publish it in the position
"menu".
Make sure the language's "Home" menu item points to a valid target, like a Joomla article
set to Language > Xyish (XY).
Up to this point there is nothing special if you use a YOOtheme template. What you did would have
to be done regardless of the template you use in the frontend.
Your standard "Home" page which is still used from the demo content shows a certain
styling, a full width "top-a" or "fullscreen" for instance.
But your added language's "Home" page shows a very different styling.
As opposed to what a user who is new to the concept of "layout profile" might readily assume: There
certainly is no "bug" involved.
The different display is conforming to different layout profiles these pages (= menu items) are
assigned to. The new language's "Home" menu item is just not completely configured yet, and
probably use the layout profile named "default".
If you want two pages like your standard "Home" menu item and the "Home" page of one or more
languages use the same styling make sure they are assigned to the same layout profile in the
template's Layouts > [theProfile] > Assignment section.
In this fictitious case where you started out with a full demo installation proceed as follows:
Go to Extensions > Template Manager > yoo_TEMPLATE > Options > Layouts.
From the list of layout profiles select the one named "frontpage".
Look for your new language's "Home" menu item and also
it.
Reload the page in the frontend and switch between the standard "Home" and the "Home" of your
language.
The styling (colours, position dimensions, navbar, system output, etc.) should be the same now.
Needless to say: Depending on the language and the modules' settings only modules will show
which are either set to Language > All or to the currently active language. But this is not related to
the template but applies in general.
For more information about layout profiles and their assignment please carefully read the "[Tutorial]
Warp 7: Understanding layout profiles".
Go to Extensions > Module Manager and look for the module showing your "Main Menu
/XY)".
Build a Multilingual Site in Joomla!. Dont mind the version 1.7 mentioned. The steps
described will similarly apply to 2.5 and 3.x as well.
PDF tutorial, provided by the Joomla! Magazine
Generally these are the rules (quoted from the manual) for a site using the built in Joomla!
Multilanguage feature:
Before putting the Multilanguage site online, check the following:
1.
2.
3.
Are the Default Home Page menu items for each Content Language present and published?
4.
Are the Menu modules which display these Default Home Pages present and published?
5.
Is there a specific menu containing a Default Home Page menu item to which is assigned
language "All" and its Menu module unpublished?
6.
7.