Dear Oscar,
I had that problem as well, and I found solution on NAVT blog (it closed now – I access it via google cache). It works! See text below, please:
Re: Multilingual support!
Postby TomPress on Tue Oct 14, 2008 9:49 pm
I cant?t believe. I could solve the problem by myself.
This just by comparing codes and without any knowlegde of the meaning.
file: navt_widget.php
I have changed:
echo ($before_widget . apply_filters(‘the_title’, $title) . $out . $after_widget);
into:
echo ($before_widget . apply_filters(‘the_title’, $title) . apply_filters(‘the_title’,$out) . $after_widget);
Hope it will help others now. Maybe some of the experts can confirm this solution.
TomPress
Posts: 3
Joined: Tue Oct 14, 2008 7:06 pm
Dear owlman,
thank you for the solution. 🙂
KS
(@karl19)
Hi there,
I’m also having an issue with NAVT and qTranslate. All page/post titles in the NAVT admin show as <!–:en–>ENGLISH<–:–><!–:–>SWEDISH<–:–> and don’t show on the site. If I drag a page to my NAVT menu and then manually change the name to for example ENGLISH, the menu shows.
I’m using NAVT 1.0.31 and I’ve got both an app/navt_widget.php and an app/navt_widget2.5.php, but neither of them have the code as listed above. Instead I’ve got:
if( !empty($out) && '' != $out ) {
echo ($before_widget . $title . $out . $after_widget);
}
I tried just swapping out
echo ($before_widget . $title . $out . $after_widget);
with the code above, in both files, but it doesn’t seem to work. Posts/pages still show wrong in the admin and don’t get listed on the frontpage.
Any ideas on this would be appreciated!
KS
(@karl19)
I couldn’t get this to work, so in the end I started using a different menu plugin which I found to work much better for me. Not saying this would be the case for everyone, but in case someone is using qTranslate, this might be easier – Simple Sidebar Navigation
I’d really love to find the solution to Karl19’s originaly problem as well. Unfortunately, the Simple Sidebar Navigation doesn’t work for me, as I need two menus to be generated.
KS
(@karl19)
@tinuviel,
Since I didn’t go back to NAVT, I’m not sure if there was a solution. But in terms of Simple Sidebar Navigation, can’t you just use two widgets for your menus? You should be able to create as many menus as you want – for the site we used it for, we ran five SSN menus.