Yes, and you need to change all the news in the tx_news plugin
First copy everything to the tmp table
CREATE TABLE `news_tmp` ( `uid` int( 11 ) NOT NULL AUTO_INCREMENT , `pid` int( 11 ) NOT NULL DEFAULT '0', `tstamp` int( 11 ) NOT NULL DEFAULT '0', `crdate` int( 11 ) NOT NULL DEFAULT '0', `cruser_id` int( 11 ) NOT NULL DEFAULT '0', `t3ver_oid` int( 11 ) NOT NULL DEFAULT '0', `t3ver_id` int( 11 ) NOT NULL DEFAULT '0', `t3ver_wsid` int( 11 ) NOT NULL DEFAULT '0', `t3ver_label` varchar( 30 ) NOT NULL DEFAULT '', `t3ver_state` tinyint( 4 ) NOT NULL DEFAULT '0', `t3ver_stage` tinyint( 4 ) NOT NULL DEFAULT '0', `t3ver_count` int( 11 ) NOT NULL DEFAULT '0', `t3ver_tstamp` int( 11 ) NOT NULL DEFAULT '0', `t3ver_move_id` int( 11 ) NOT NULL DEFAULT '0', `t3_origuid` int( 11 ) NOT NULL DEFAULT '0', `editlock` tinyint( 4 ) NOT NULL DEFAULT '0', `sys_language_uid` int( 11 ) NOT NULL DEFAULT '0', `l10n_parent` int( 11 ) NOT NULL DEFAULT '0', `l10n_diffsource` mediumtext, `deleted` tinyint( 4 ) NOT NULL DEFAULT '0', `hidden` tinyint( 4 ) NOT NULL DEFAULT '0', `starttime` int( 11 ) NOT NULL DEFAULT '0', `endtime` int( 11 ) NOT NULL DEFAULT '0', `sorting` int( 11 ) NOT NULL DEFAULT '0', `fe_group` varchar( 100 ) NOT NULL DEFAULT '0', `title` tinytext, `teaser` text, `bodytext` mediumtext, `datetime` int( 11 ) NOT NULL DEFAULT '0', `archive` int( 11 ) NOT NULL DEFAULT '0', `author` tinytext, `author_email` tinytext, `categories` int( 11 ) NOT NULL DEFAULT '0', `related` int( 11 ) NOT NULL DEFAULT '0', `related_from` int( 11 ) NOT NULL DEFAULT '0', `related_files` tinytext, `fal_related_files` int( 11 ) unsigned DEFAULT '0', `related_links` tinytext, `type` varchar( 100 ) NOT NULL DEFAULT '0', `keywords` text, `description` text, `tags` int( 11 ) NOT NULL DEFAULT '0', `media` text, `fal_media` int( 11 ) unsigned DEFAULT '0', `internalurl` text, `externalurl` text, `istopnews` int( 11 ) NOT NULL DEFAULT '0', `content_elements` text, `path_segment` tinytext, `alternative_title` tinytext, `rte_disabled` tinyint( 4 ) NOT NULL DEFAULT '0', `import_id` varchar( 100 ) NOT NULL DEFAULT '', `import_source` varchar( 100 ) NOT NULL DEFAULT '', PRIMARY KEY ( `uid` ) , KEY `parent` ( `pid` ) , KEY `sys_language_uid_l10n_parent` ( `sys_language_uid` , `l10n_parent` ) , KEY `import` ( `import_id` , `import_source` ) ) ENGINE = MyISAM DEFAULT CHARSET = utf8 INSERT INTO `news_tmp` SELECT * FROM `tx_news_domain_model_news`
Then change the contents. The text of the Tacke translation is from "tmp" and is set to the new language of origin.
UPDATE news_tmp news, tx_news_domain_model_news tmp SET news.title = tmp.title, news.teaser = tmp.teaser, news.bodytext = tmp.bodytext WHERE (news.uid = tmp.t3_origuid) AND (news.sys_language_uid = 0) AND (tmp.sys_language_uid = 2); UPDATE news_tmp news, tx_news_domain_model_news tmp SET news.title = tmp.title, news.teaser = tmp.teaser, news.bodytext = tmp.bodytext WHERE (news.t3_origuid = tmp.uid) AND (news.sys_language_uid = 2) AND (tmp.sys_language_uid = 0)
and back
UPDATE news_tmp news, tx_news_domain_model_news tmp SET news.title = tmp.title, news.teaser = tmp.teaser, news.bodytext = tmp.bodytext WHERE (news.t3_origuid = tmp.uid) AND (news.sys_language_uid = 2) AND (tmp.sys_language_uid = 0)
Done. Change the tmp table to the origin:
RENAME TABLE `db`.`tx_news_domain_model_news` TO `db`.`tx_news_domain_model_news_old` ; RENAME TABLE `db`.`news_tmp` TO `db`.`tx_news_domain_model_news` ;
It's all. thanks