kinyelo / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
1 stars 2 forks source link

Superfish Menu plugin: not translate #336

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi again!,

We´re using superfish menu plugin but  the translation does not work. It 
always compose the website menu with the content-tree-item-title independently 
the language of navigation.

We also have used the velocity expression ${plugin.superfish.renderMenu()} to 
configure Superfish but the expected result is the same or we don´t know to 
use this expression. 

Could you help us?

Original issue reported on code.google.com by santilh@gmail.com on 2 Sep 2010 at 8:00

GoogleCodeExporter commented 9 years ago
What do you mean by translation? CMS admin interface for plugin configuration 
or produced superfish menu items which are taken from page titles.

Original comment by kinyelo@gmail.com on 2 Sep 2010 at 10:04

GoogleCodeExporter commented 9 years ago
produced superfish menu items which are taken from page titles does not work.
text is not translated.

Even if we have several languages, it only takes one language, the one that is 
in the tree. See the following image.

Original comment by santilh@gmail.com on 2 Sep 2010 at 2:13

Attachments:

GoogleCodeExporter commented 9 years ago
I can confirm. I can't find how configure superfish menu to have 2 language.

If use on page $service.findPage("/").getLocalTitle($language.code) - title 
work, but menu still use only one language from tree.

Original comment by vip1ka...@gmail.com on 2 Sep 2010 at 2:43

GoogleCodeExporter commented 9 years ago
I see the website taksee.net superfish menu is working. Have you fixed the 
issue or it's still exists?

Original comment by kinyelo@gmail.com on 25 Sep 2010 at 9:17

GoogleCodeExporter commented 9 years ago
hi folks, have had the same issue with superfish,with a snapshot version from 
downloads

Original comment by eplisc...@gmail.com on 30 Sep 2010 at 9:02

GoogleCodeExporter commented 9 years ago
workaround:

patch the superfish file: WEB-INF/classes/org/vosao/plugins/superfish/menu.vm 
and replace (2x occurances, version 0.7):
$treeItem.entity.localTitle
by
$treeItem.entity.getLocalTitle($language.code)

Original comment by eplisc...@gmail.com on 30 Sep 2010 at 11:15

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r944.

Original comment by kinyelo@gmail.com on 27 Nov 2010 at 12:02

GoogleCodeExporter commented 9 years ago
I'm using version 0.8 and the menu.vm seems to be fixed but I'm still having 
this problem. Does anyone know why it still isn't working? Or am I doing 
something wrong?

Original comment by dvc9...@gmail.com on 30 Dec 2010 at 10:19

Attachments:

GoogleCodeExporter commented 9 years ago
see issue 469

Original comment by sant...@gmail.com on 3 May 2011 at 12:05