{"id":14624887,"date":"2021-07-04T16:58:53","date_gmt":"2021-07-04T16:58:53","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wrong-translations-with-translatepress\/"},"modified":"2021-07-04T16:58:53","modified_gmt":"2021-07-04T16:58:53","slug":"wrong-translations-with-translatepress","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wrong-translations-with-translatepress\/","title":{"rendered":"Wrong translations with translatepress"},"content":{"rendered":"<p>Hello,<br \/>\nthank you for the great plugin!<\/p>\n<p>I just have a problem with translations. My site has a few languages that are translated automatically using TranslatePress and google translate.<\/p>\n<p>I can verify English and Polish versions, and the Polish version ONLY on the &#8220;Cookie Policy (EU)&#8221; page is translated incorrectly. E.g. the word &#8220;cookie&#8221;, which on the Polish version should be kept &#8220;cookie&#8221; is translated into the literal meaning of the word (&#8220;ciasteczko&#8221;). Some paragraphs in Polish do not make any sense.<\/p>\n<p>I looked deeper into the problem:<br \/>\n1. translate press keeps the original strings in a table &#8220;trp_original_strings&#8221;<br \/>\n2. each string in this table is only in its original version &#8211; i.e. on my website in English, as this is the default language<br \/>\n3. However, strings from the &#8220;Cookie Policy (EU)&#8221; page (and only from this page) occur multiple times in the trp_original_strings table &#8211; each version in a different language. Translate Press thinks that each of these strings is an original string. It does not have any idea that Complianz has already translated these strings. Furthermore &#8211; Translate Press thinks that each of these strings is in English.<br \/>\n4. The result is that in tables trp_dictionary_en_us_ + language code (e.g. trp_dictionary_en_us_pl_pl, etc) there are many translations from the &#8220;original&#8221; strings contained in the trp_original_strings table, to the translated version.<\/p>\n<p>It is no wander then why the Polish translation (and probably all other translations) does not make any sense:<br \/>\n1. Complainz makes the polish version of the page and let&#8217;s Translate Press save it in the original strings table<br \/>\n2. Translate Press upon switiching the language in the front-end tries to translate the Complianz-made Polish text, thinking it is an English text, to Polish again.<\/p>\n<p>For now I try to exclude the &#8220;Cookie Policy (EU)&#8221; page from being translated by Translate Press, but this does not seem to work either. I will try cleaning the database &#8211; we will see.<\/p>\n<p>However &#8211; I think there should be a switch in Complianz wether I would like to use Complianz translations or relay on my translation pplugin.<\/p>\n<p>Do you see any solution to this?<\/p>\n<p>Thank you<\/p>\n","protected":false},"template":"","class_list":["post-14624887","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14624887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14624887\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14624887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}