Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are experiencing issues with overriding translations when setting different translations for the same phrase on different pages or products in your WooCommerce site.
Solution:
This behavior is due to WPML's translation memory feature, which is designed to reuse translations to maintain consistency across your site. To manage unique translations for similar phrases on different pages or products, we recommend using the WPML Glossary. The Glossary allows you to define and manage unique translations for specific terms or phrases.
Learn more about how WPML’s Translation Memory works: https://wpml.org/documentation/translating-your-contents/how-wpml-keeps-track-of-your-translations/
Here's a guide on how to use the Glossary for accurate translations: https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/how-to-create-and-manage-glossary-entries/

If this solution does not apply to your case, or if it seems outdated, please open a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, you can contact us directly through our support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 1 reply, has 2 voices.

Last updated by Andrey 3 months ago.

Assisted by: Andrey.

Author Posts
August 16, 2024 at 2:32 pm #16078642

martynasA

Background of the issue:
Throughout my site I have certain phrases which repeat across different pages or Woocommerce products (e.g. 'How to Use'). When I translate such phrases, I sometimes want them to be different for each individual page.

For example,

Product A: [ Original Phrase, EN: 'How to Use' ] => [ Translated Phrase, OTHER_LANG: 'How to Use Cinnamon' ]
Product B: [ Original Phrase, EN: 'How to Use' ] => [ Translated Phrase, OTHER_LANG: 'How to Use Basil' ].

Symptoms:
Right now, if I set the desired translation for Product A, everything is good. However, if I go to translate Product B and set the translation 'How to Use Basil', that phrase would be set as for all other products that have the original phrase 'How to Use'. This way I accidentally overrode a bunch of translations. It did not show anywhere that an existing translation would be overridden elsewhere.

Questions:
How can I recover from accidentally overriding translations?
How can I ensure I can set separate translations for each page?

August 17, 2024 at 9:07 am #16079806

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for contacting WPML support.

The behavior you've described is expected and is known as translation memory.

Here's how WPML’s Translation Memory works: https://wpml.org/documentation/translating-your-contents/how-wpml-keeps-track-of-your-translations/.

You can also try using the Glossary, which can help in the situation you've described.

Here's how to use the Glossary for accurate translations: https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/how-to-create-and-manage-glossary-entries/.