Hi,
i move my jomsocial navbar into a module in loguser-menu position of T3-framework.
I tried to translate via overrides language and via adding string to ini files without success.
I saw this thread about this problem here :
www.jomsocial.com/forum/translations/139...nslate-toolbar#82250
I duplicated my navbar module, one in french and one in nederlands.
I translated this two menu and assigned each menu to one language (french and nederlands)
This solution works without problem but only without SEF.
When i enable the joomla SEF, some links become 404
Example : links to photos, event, etc
Any solution or error i could made ?
I let a test access in private information to let you see the navbar and eventually test.
Regards,
Olivier
Hi, Olivier.
It's because you duplicated JomSocial toolbar menu. You have separated for FR and for NL.
When SEF is enabled and I'm in FR link to Photos has ID 122 what is ok since this is menu item ID of Photos in JomSocial toolbar FR.
But when I click on Photo I have ID 382... and this is menu item ID of Photos in JomSocial toolbar NL... which will be not displayed as it's allowed to display only when NL is enabled ... so you have 404.
You should use ONLY ONE JomSocial toolbar (menu type "jomsocial") without any language restrictions.
Then items in your main menu should be aliases to JomSocial toolbar menu.
Hi Michal,Michal wrote: Hi, Olivier.
It's because you duplicated JomSocial toolbar menu. You have separated for FR and for NL.
When SEF is enabled and I'm in FR link to Photos has ID 122 what is ok since this is menu item ID of Photos in JomSocial toolbar FR.
But when I click on Photo I have ID 382... and this is menu item ID of Photos in JomSocial toolbar NL... which will be not displayed as it's allowed to display only when NL is enabled ... so you have 404.
You should use ONLY ONE JomSocial toolbar (menu type "jomsocial") without any language restrictions.
Then items in your main menu should be aliases to JomSocial toolbar menu.
Hi, Olivier.
No, you misunderstood "is not possible to translate the menu normally (jomsocial solution) without having the menu in jomsocial position"
IF you have JomSocial toolber menu assigned to a module that is assigned to module position, then automatic translation will NOT work.
because this menu items will behave like ordinary Joomla! menu items.
Does't automatic translation using language constant work for ordinary menu items? NO.
Automatic translation will work ONLY if Jomsocial toolbar has a MENU TYPE "jomsocial" and it's NOT assigned to any module/module position.
So you need to have:
1. One neutral menu - just like required in Joomla! documentation
2. ONE Jomsocial toolabr menu, with type "jomsocial" where menu items names are language constants
3. One French menu that consist of French translated positions (menu items names) that are menu aliases that link to corresponding JomSocial toolbar menu items
4. The same goes for NL menu.
Hi Michal,
thank you it works perfectly.
I even think it works better like this, because the system now take the alias of each language, so the url of profil, photos etc don't keep the english alias, but take the alias of each translated toolbar, you just need to make association between the two different menu.
Regards,
Olivier