Index: t3lib/class.t3lib_tceforms_inline.php =================================================================== --- t3lib/class.t3lib_tceforms_inline.php (revision 8536) +++ t3lib/class.t3lib_tceforms_inline.php (working copy) @@ -288,21 +288,25 @@ // Render the level links (create new record, localize all, synchronize): if ($config['appearance']['levelLinksPosition']!='none') { $levelLinks = $this->getLevelInteractionLink('newRecord', $nameObject . self::Structure_Separator . $foreign_table, $config); - if ($language>0) { - // Add the "Localize all records" link before all child records: - if (isset($config['appearance']['showAllLocalizationLink']) && $config['appearance']['showAllLocalizationLink']) { - $levelLinks.= $this->getLevelInteractionLink('localize', $nameObject . self::Structure_Separator . $foreign_table, $config); - } - // Add the "Synchronize with default language" link before all child records: - if (isset($config['appearance']['showSynchronizationLink']) && $config['appearance']['showSynchronizationLink']) { - $levelLinks.= $this->getLevelInteractionLink('synchronize', $nameObject . self::Structure_Separator . $foreign_table, $config); - } - } } // Add the level links before all child records: if (in_array($config['appearance']['levelLinksPosition'], array('both', 'top'))) { $item.= $levelLinks; } + + if ($language>0) { + $localizationLinks = ""; + // Add the "Localize all records" link before all child records: + if (isset($config['appearance']['showAllLocalizationLink']) && $config['appearance']['showAllLocalizationLink']) { + $localizationLinks .= $this->getLevelInteractionLink('localize', $nameObject . self::Structure_Separator . $foreign_table, $config); + } + // Add the "Synchronize with default language" link before all child records: + if (isset($config['appearance']['showSynchronizationLink']) && $config['appearance']['showSynchronizationLink']) { + $localizationLinks .= $this->getLevelInteractionLink('synchronize', $nameObject . self::Structure_Separator . $foreign_table, $config); + } + } + $item.=$localizationLinks; + $item .= '
'; $relationList = array();