Hi,

thx for this great handy tool. I tried to find a way to translate the menu item or the sub-page in the content subpages tab but failed to do that? Any suggestions?

It would be great also if fieldgroups were added as an option. There is a module fieldgroup menu for that but i belive there are no maintainers any more which is also lack of translation.

best regards..

Comments

BrockBoland’s picture

Unfortunately, this is one of the areas where this module is lacking right now. I thought I had included some alter function that would allow you to override it in code, at least as a hack for the time being, but I can't find it right now.

More unfortunately, I also don't have any time to add new features to this module in the near future. Sorry :-(

BrockBoland’s picture

I think this will give some direction: http://drupal.org/node/304002

TasosLo’s picture

Hi,

an answer to that problem could be the change in node_subpafes.module
at 190 from $tab_title = $details['title'] to $tab_title = t($details['title']).

After that if you have a multilingual site, you can translate it in anything you want.

It works for me.

BrockBoland’s picture

Issue summary: View changes

That will work, but I have to advise against doing so. From the t function documentation:

It is especially important never to call t($user_text), where $user_text is some text that a user entered - doing that can lead to cross-site scripting and other security problems.

Granted, only privileged/admin users will be creating or renaming subpages, but this should still be avoided.

zmove’s picture

Drupal 7 support multilanguage feature in core, so it seems very important to me that all modules maintainers works on multilanguage features on their modules.

Imagine a webmaster that choose Drupal over another CMS because it's multilanguage, and then, discover that it's not the case in reality because some modules don't support it. Very frustrating.

I think administrator and moderators will be the users of that module in 99.99% of the cases (to not say 100%), and I don't think they will cross-site script their own website. That's why I don't think it's a so important issue (less important that the lack of multilanguage capabilities IMHO and could be accepted as a temporary solution).

Regards,

Alex