In the current Drupal 7 i18n translation modules there's a problem with removing the content translation links at the bottom of content.
I've created a little snippet for the template.php file based on the #29 issue comment here.
I hope it will help you:
/**
* Remove translation links.
*/
function THEME_links($variables) {
$links = $variables['links'];
foreach ($links as $key => $value) {
if (isset($value['attributes']) && $value['attributes']['class'][0] == 'translation-link') {
unset($variables['links'][$key]);
}
}
return theme_links($variables);
}
?>
Dir hat dieser Beitrag Zeit und viele Nerven gespart?
Dann würde ich mich sehr über einen leckeren Kaffee freuen! Oder ein spannendes Tech-Buch aus meiner Wunschliste?

Du suchst weitere professionelle Unterstützung in der Web-Softwareentwicklung?
Unser erfahrenes Team der webks GmbH berät, entwickelt & realisiert individuelle, innovative Web-, eCommerce-, Drupal CMS & mobile Anwendungen.

