Closed (fixed)
Project:
Menu translation (Node)
Version:
6.x-1.0-beta2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2011 at 09:12 UTC
Updated:
28 Mar 2011 at 14:01 UTC
I'm trying to use MTN in a multilanguage site and I'm not able to get [i18n] block title translated.
I modified block.tpl.php in my theme using
<?php print t($block->subject) ?>
and usual block menu titles get translated using the translate interface sysyem but no luck with [i18n] blocks.
Is there a way to get there?
Thanks in advance
Comments
Comment #1
plachThis is really weird, however you could try using the block translation feature of i18n strings (select "block" as locale group in the translate interface), which should provide a translated
$block->subjectwithout the need of usingt().Comment #2
andromeda commentedI perfectly agree, but what's next ?
BTW, I removed it and "normal" menu blocks get their titles translated but [i18n]menues don't.
I'm trying to get multilanguage an existing website whose default language is Italian :-) and I need an English translation (perhaps others in the future). Italian as default language was set up long ago but after some content was inserted. Due to the way strings translation works, I'm manually editing my menues so that I can find them in the translate interface.
Well, if I limit the search to "block" it finds nothing, elsewere it finds the string twice:
the first is in the menu text group and it let me translate into English, but even after a cache clear, [i18n]menu don't get their block titles translated;
the second string is found in built-in interface textgroup and... it let me translate into Italian... 8-o)
It's turning into a nigthmare...
Comment #3
plachDid you try?
Try also to refresh strings.
Comment #4
andromeda commentedBut as far as I knew
wasn't for translating from another language into default language (though != English) ?
I need to translate from default language (Italian) into English.
After a refresh strings I've had to re-edit my menues to be able to find titles' strings to translate. Like before, normal block menu get their titles traslated and [18n] don't.
Thanks for your help.
Comment #5
plachSorry, I misunderstood you :)
Are you able to reproduce this situation with a fresh D6 install?
Comment #6
andromeda commentedI will do as time permits in the next few days because it's worth investigating.
For the site I'm working on, if "normal" blocks work, I'll use them, select no language conditions in the multilanguage system and modify a bit my views in the hope to escape from the nightmare ;-) .
BTW I have some links not pointing to nodes and it seems I can't use MTN for such menues if I want them translated.
Comment #7
plachReopen as needed.