submenu in multilingual components - Joomla! Forum - community, help and support


hello,

i'm developping multinlingual component joomla , not know how build submenu in different languages.

in rest of component i'm using "_" method of jtext class string translated submenu directly declared in xml installation file:


component

this section 1
this section 2

[...]

i did copy of menu , called mainmenu_en.
the main menu has 109 items submenu. copy appeared without submenu

i did them hand , later tnaslated mainmenu_en english, , important hide unnessary items not translated.

but don't know now, how ...

i read jommfish file , don't understand:

there writtten: "if current language xxx, load module position y.
this simple way make module appear in languages.
example:
if( $mosconfig_lang != "english" ) { ?>


if( $mosconfig_lang != "german" ) { ?>



***** manual signatures not allowed *****

i understand should set user5 1 menu, user6 another.
my question are:

1. should write these codes, in file:

if( $mosconfig_lang != "english" ) { ?>


if( $mosconfig_lang != "german" ) { ?>






Comments