I just seeked to hide the translation tab for content types where the user doesn't have permission to submit content anyway. It turns out that this module isn't fine grained enough. For people seeking out the mentioned functionality, its not too complicated to edit the page.tpl.php:

Look for where $tabs are displayed, and make the code into something like

<?php
//hide translate tab for users not logged in
if ($tabs && ($is_admin||($node->type=="TRANSLATABLE_CONTENT_TYPE"))): ?>
    <div class="tabs"><?php print $tabs; ?></div>
<?php endif; ?>

Comments

cdonner’s picture

I needed the tabs on the user page and I have content translators who are not admins. I modified the condition for displaying the tabs as follows:

   // Hide tabs for normal users unless this is not a node or a profile:
   if ($tabs && ($is_admin||in_array('superuser', array_values($user->roles))||!$node||($node->type=="profile")))
      ....