Index: mod1/index.php =================================================================== --- mod1/index.php (revision 39084) +++ mod1/index.php (working copy) @@ -2449,7 +2449,7 @@ case 'createNewPageTranslation': // Create parameters and finally run the classic page module for creating a new page translation - $params = '&edit[pages_language_overlay]['.intval (t3lib_div::_GP('pid')).']=new&overrideVals[pages_language_overlay][sys_language_uid]='.intval($commandParameters); + $params = '&edit[pages_language_overlay]['.intval (t3lib_div::_GP('pid')).']=new&overrideVals[pages_language_overlay][doktype]=' . intval(t3lib_div::_GP('doktype')) . '&overrideVals[pages_language_overlay][sys_language_uid]='.intval($commandParameters); $returnUrl = '&returnUrl='.rawurlencode(t3lib_extMgm::extRelPath('templavoila').'mod1/index.php?'.$this->link_getParameters()); $redirectLocation = $GLOBALS['BACK_PATH'].'alt_doc.php?'.$params.$returnUrl; break; Index: mod1/class.tx_templavoila_mod1_localization.php =================================================================== --- mod1/class.tx_templavoila_mod1_localization.php (revision 39084) +++ mod1/class.tx_templavoila_mod1_localization.php (working copy) @@ -253,7 +253,8 @@ } if (count($optionsArr) > 1) { + $linkParam = $this->pObj->rootElementTable == 'pages' ? '&doktype=' . $this->pObj->rootElementRecord['doktype'] : ''; - $link = 'index.php?'.$this->pObj->link_getParameters().'&createNewPageTranslation=\'+this.options[this.selectedIndex].value+\'&pid='.$this->pObj->id; + $link = 'index.php?'.$this->pObj->link_getParameters().'&createNewPageTranslation=\'+this.options[this.selectedIndex].value+\'&pid='.$this->pObj->id . $linkParam; $output = '