Skip Navigation

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

Problem: Is it possible to delete the current translation memory in ATE (Advanced Translation Editor)?

Solution: Not right now, but this feature will be implemented in the near future.

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.

This topic contains 9 replies, has 3 voices.

Last updated by davidM-148 4 years, 2 months ago.

Assisted by: Alejandro.

Author Posts
November 22, 2020 at 5:33 am #7501497

davidM-148

I'm trying to run automatic translations with DeepL.

All of my posts have 500 -1500 words each. However, when I add them to the translation basket, it is only showing a fraction of this word count for each post: hidden link

We had some of these posts translated earlier via wpml ms azure api (one year ago). But we deleted the translated posts completely. Could it be that wpml is still pulling the old translations from somewhere and is trying to only translate with DeepL what has changed since then?

November 22, 2020 at 9:52 am #7502209

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Thank you for contacting WPML support!

Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Can you check this?
https://wpml.org/forums/topic/reset-translation-memory/#post-5154699

Also check this:
https://wpml.org/documentation/translating-your-contents/getting-a-word-count-of-your-wordpress-site/#the-effect-of-translation-memory-on-word-count-and-costs

Does it help?

Regards,
Bruno Kos

November 22, 2020 at 8:08 pm #7503613

davidM-148

Hi. Unfortunately, no. I deleted the whole translated post. The original post (DE) still exists. I then add it as a translation to the translation basket and then I get the view I sent you in my screenshot above.

November 23, 2020 at 4:58 pm #7511499

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hello,

If you access the page can you see the translation memory working?

I'm asking because the word count doesn't really "ignore" the translated content at all. it should still contain the same amount of words wether they are or not already in the translation memory.

However, there is no way to delete the translation memory, but if the word count is lower, chances are that there are elements in the translation editor that are being ignored and this could be for many reasons. so i'd suggest that you check the page and notice if there are less sections than the one in the document or place where you see more words.

Regards.

November 24, 2020 at 4:14 am #7513885

davidM-148

The word count is just an implication for me that wpml is using translation memory, filled with old translations. We translated the site one year ago and there was only ms azure available back then. Now we want to use DeepL because of much better quality of the translations.

Here is what happens:

1. I delete all translations (original posts in German persist)
2. I add all posts to the translation basket
3. I translate them via auto translation (DeepL en_US)

In the end, most of our translations still have the same crappy ms azure content in them as before. You can exactly tell which paragraphs are new (translated by DeepL) and which are pulled from translations memory (filled with ms azure, back then).

Is there now way to get around this?

November 24, 2020 at 8:19 am #7514523

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

There's a way to delete all the translation memory but it would require setting you up with a new "account". that means that:

1) Your subscription would need to be cancelled beforehand
2) All your translation memory would be completely deleted.

There would be "leftovers" that can help you recover the translations through a feature in the advanced translation editor, however: https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/using-translations-from-other-sources-in-the-advanced-translation-editor/

If you want to continue here then this is what you'd need to do:

1) Cancel your subscription in WPML > Translation Management > Translation Tools (you will need to pay for what you've used so far).

If you send me a screenshot of the current tier you're in (a screenshot of the current usage in your site) i can credit you the remaining words in the tier of the plan you paid.

2) Please un this query in the database:

select *
from wp_options
where option_name = 'WPML_SITE_ID:ate'
OR option_name = 'WPML_TM_AMS'

(change the wp_ prefix with your database table's prefix)

3) You will find 2 entries there. delete them but only after a database backup

4) Delete the 2 entries

5) Now go to WPML > Settings > How to translate posts and pages > Enable the advanced translation editor again.

This will erase not only the translation memory, though (all of it) but also the glossary, if you had any and will act as if it was a brand new site.

Just so you know, we are constantly working to improve the Advanced Translation Editor and i will ask our developers to consider allowing users to delete the translation memory selectively but then it's up to them if and when to honor the request.

I'd strongly suggest that you do the same here: https://wpml.org/suggest-a-new-feature-for-wpml/ since this is an even better way to suggest new features to our devs!

Try it out and let me know how it goes.

November 24, 2020 at 10:20 am #7515649

davidM-148

Edit: I got you wrong. Will try your solution now.

November 24, 2020 at 11:17 am #7516087

davidM-148

Thank you. It worked perfectly.

Here is my tier: hidden link
I also spent a lot of credits for testing purposes (testing, deleting, testing, deleting again...)

Cheers
Davdi

November 24, 2020 at 6:34 pm #7520043

Alejandro
Supporter

Languages: English (English ) Spanish (Español ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hello!

I'm glad that did the trick!

I credited the words that were still not used in the same tier and added a small bonus to try to help with the credits that you used for testing, you should have them in your account now (you might not see them in the count but in the "available words" section in WPML > Translation Management > Translation Tools > In the counter of words you can see in that page).

Regards.