Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 5 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 10 months ago.

Assisted by: Long Nguyen.

Author Posts
August 22, 2023 at 11:04 am #14270225

kQ

Hi,

We are trying to translate our products in Woocommerce from Dutch language to English with Pay-As-You-Go.

We translated 2 single products as a test and it calculates around 270 per product. 544 total.

The only thing that it translates is the product title though because there are no other texts on the page that need translation.

So how can it calculate 270 credits for translating the title:
- Shockproof Folio Case iPad Pro 11′ – 2022 / 2021 / 2020 – Zwart
To
- Shockproof Folio Case iPad Pro 11′ – 2022 / 2021 / 2020 – Black

Thats basically only translating 1 single word for 272 credits.

Is this a bug or what am i missing here?

Looking forward to hearing from you.

Images
- Pink case is a regular "dutch" product page but on the "english" language clicked.
- Black cases are the regular dutch product and the english translation that costed 272 credits.

Kind regards,
Kai

Scherm­afbeelding 2023-08-22 om 12.54.47.png
Scherm­afbeelding 2023-08-22 om 12.53.59.png
Scherm­afbeelding 2023-08-22 om 12.53.35.png
August 23, 2023 at 7:20 am #14274969

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi there,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

On our server, I see the job to translate the product "Shockproof Folio Case iPad Pro 11′ – 2022 / 2021 / 2020 – Zwart" counted 139 words, including the image title and it costs 278 credits:
Deepl translation engine 2 credits/word * 139 = 278 credits.
and I think it is expected. Please check this screenshot hidden link

FYI, the product title has 10 words, not 1 word as you think. You can also go to WPML > Translation Management > Select the product to see the word count (approximately). Refer to the documentation https://wpml.org/documentation/translating-your-contents/getting-a-word-count-of-your-wordpress-site/

Look forward to your reply.
Thanks

August 23, 2023 at 10:58 am #14277747

kQ

Hi Long,

Thank you for the explanation and the image.

I can now indeed see that most credits are being counted by translating the image titles. But those do not need translations. They can always stay the same as the dutch language. How can i disable those from draining credits?

For example
- Shockproof-Folio-Case-iPad-Mini-6-2021-8.3-inch-Pencilhouder-Roze-1.jpg
Translates to
- Shockproof-Folio-Case-iPad-Mini-6-2021-8.3-inch-Pencilhouder-Roze-1.jpg

They never change, and should never change but it drains all the credits.

When i go to Settings -> WPML -> Post types -> Unlock media, set it to "not translatable" and translate another product it doesn't add the images to the translated page at all which is not desired.

How can i set the media to just copy from the main language without translating anything because 250 of the 270 credits are drained by unnecessarily "translating" those image titles.

Looking forward to hearing from you.

Kind regards,
Kai

August 24, 2023 at 2:00 am #14281045

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

To copy media from the original language to second languages without translating media info (title, alt text, caption ...) please try some steps below and see if it helps:

1. Go to WPML > Settings > Post Types Translation > Set the preference of post type Media (attachment) to Translatable - only show translated items.

2. Go to WPML > Settings > Media Translation > Enable options as this screenshot hidden link

3. You will need to click on buttons "Start" and "Apply" to apply the changes.

4. When editing the product in the original language, please ensure two options are available, screenshot hidden link
- Duplicate uploaded media to translations
- Duplicate featured image to translations

Then you can create a new product, upload images, translate it into a second language and see how it goes.

Refer documentation https://wpml.org/documentation/getting-started-guide/media-translation/#id5

Look forward to your reply.
Thanks

August 24, 2023 at 12:19 pm #14284755

kQ

Hi,

Unfortunately the solution doesn't seem to work.

I tried:
- Setting the Post type translation -> Media to Translatable -> Translate all future content automatically -> Automatic translation turned on
- Setting the media translation options to the same as on the first screenshot
- Clicking apply and start
- The media starts copying and it finishes after a while
- Check if the 2 options from the second screenshot are checked on the product page of the main language

And then when you Translate the product into a second language
-- When you do this manually the image title fields are present again and you can't finish it without translating those. Which is the same problem as in the beginning.
-- When you do this automatically it just translates everything including the images and it drains the credits

So unfortunately this does not solve the problem.

Do you have any other ideas or can you see if i'm doing something wrong?

See images for the current settings and result after translation.

Looking forward to hearing from you.

Kind regards,
Kai

dd_6.png
dd_5.png
dd_4.png
dd_3.png
dd_2.png
dd_1.png
August 28, 2023 at 1:43 am #14297027

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Please install and activate the plugin WPML Media Translation then recheck this issue, follow the documentation https://wpml.org/documentation/getting-started-guide/media-translation/#activating-wpml-media-translation

Look forward to your reply.
Thanks

The topic ‘[Closed] Too many credits are being calculated for translating products’ is closed to new replies.