Skip Navigation

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.

WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 16:00 10:00 – 14:00 10:00 – 14:00 9:00 – 13:00 9:00 – 13:00 -
- 17:00 – 21:00 15:00 – 19:00 15:00 – 19:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Bucharest (GMT+02:00)

Tagged: ,

This topic contains 3 replies, has 0 voices.

Last updated by katarzynaT-5 2 days, 14 hours ago.

Assisted by: Mihai Apetrei.

Author Posts
November 26, 2024 at 1:24 am #16442331

katarzynaT-5

Background of the issue:
I am using WPML for my site hidden link and have questions about translation costs and automation features. I have a template sentence with variable attributes for translation and want to automate translations for products, categories, and blog posts.

Symptoms:
No specific issue or error message mentioned.

Questions:
How will I be charged for translating a sentence with variable attributes like brand, scale, and manufacturer? Will I pay for each unique combination or only once?
If I have 5,000 products, do I only need to translate a subset of unique combinations, with the rest being reused and free of charge?
How can I automate translations for new products, categories, and blog posts into all active languages?
How can I ensure that the homepage is always automatically translated when changes are made to the default language?

November 27, 2024 at 12:37 am #16447173

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there,

You can utilize the WPML Glossary to add words that you want WPML to handle in a specific manner:
https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/how-to-create-and-manage-glossary-entries/

Additionally, you won’t be charged for existing sentences that are identical to those already translated, as WPML utilizes translation memory:
https://wpml.org/documentation/translating-your-contents/how-wpml-keeps-track-of-your-translations/

If you enable the "Translate everything automatically" option in WPML > Settings, WPML will attempt to translate any new content whenever changes occur on that specific page. However, keep in mind that this setting will also lead WPML to search for any existing untranslated content and translate it. This could consume many credits, and you might find yourself uncertain about specific pages (especially if the content is final) or not wanting to translate some pages at all.

I personally prefer the "Translate what you choose" setting because it allows me full control to send only the content I want for automatic translation.

I hope this information is helpful. Please let me know if anything is still unclear.

Mihai Apetrei

November 28, 2024 at 11:19 pm #16457185

katarzynaT-5

Thank you for your message. However, I would like to receive a comprehensive response, as the settings and assumptions for my website depend on this clarification. Currently, I have over 5,000 products, and the plan is to translate the site into more than 15 languages. Therefore, every word matters.

To ensure clarity, I have broken my questions into distinct sections:

Question 1: Translation Costs for Text with Variables
I have prepared a fixed product description template, with certain attributes being replaced dynamically.

Example text:
*This collectible diecast model car by [Manufacturer] is an impressive [Scale] scale replica of a [Brand] vehicle from [Year], meticulously crafted with high-quality [Material]. This model, in [Condition] condition, is perfect for both seasoned collectors and passionate car enthusiasts.

Designed with exceptional attention to detail, this diecast model captures the essence of the original vehicle, making it a standout piece in any diecast car collection. Whether you’re expanding your [Scale] scale model car collection or searching for a unique gift, this meticulously crafted model offers authenticity and elegance. For your convenience, the product code [Product code] ensures easy identification and reference.

Don't miss out on adding this exceptional model to your collection today!*

The attributes in square brackets ([...]) are dynamically replaced with values such as 1/18, Metal, or specific brands like Ferrari.

Here’s my key question:

If the [Scale] attribute only has two options (e.g., 1/18 or 1/43), will WPML calculate the cost for the entire sentence each time, or will it recognize that only the attribute is changing?
Similarly, for [Material], with two fixed options, will it reuse translations instead of charging credits repeatedly?
The most significant concern is [Brand] and [Manufacturer], which might have 20 and 40 variants, respectively.
If [Brand] and [Manufacturer] appear in at least 20 and 40 different combinations, will WPML:

Charge credits for translating the entire sentence every time?
Translate the text once and reuse it based on memory for all combinations?
Calculate costs based on all unique combinations (e.g., 20x40)?
In summary, what would be the cost of translating this text if [Brand] appears in 20 versions and [Manufacturer] in 40?

Question 2: Translation of Identical Product Titles
When translating products, I currently do not translate product titles, so WPML displays them in their original language.

For example:
Product Title: Rolls Royce Phantom VII EWB Diamond & Black Kyosho 1/18
If the title remains the same across all languages, will WPML consume credits to process this translation?

Additionally, does the same logic apply to:

Product titles
Image alt texts
Other identical metadata (e.g., slugs)?
In my opinion, no credits should be used since the title remains identical across all languages (e.g., "Rolls Royce Phantom VII EWB Diamond & Black Kyosho 1/18" in both English and French). Please confirm if this is correct.

Question 3: Partial Translation of Product Titles
If I decide to translate product titles, such as:
Original Title: Rolls Royce Phantom VII EWB Diamond & Black Kyosho 1/18
Translated Title: Rolls Royce Phantom VII EWB Diament & Czarny Kyosho 1/18

This translation only changes two words ("Black" → "Czarny" and "Diamond" → "Diament"). Will WPML:

Charge credits for the entire title?
Only charge credits for the translated parts?
Furthermore, if the word "Black" appears in another product title, will WPML:

Use translation memory and not charge additional credits?
Charge credits again for translating the same word?
Final Request
Please provide a detailed response to each question, as these answers will directly influence the website's development and cost estimation.

Thank you in advance for your support!

Best regards,
Dawid

Let me know if any further refinements are needed! 😊

November 28, 2024 at 11:26 pm #16457188

katarzynaT-5

Additional Question: Does WPML Translate Numbers?
If a product description includes numbers, for example:

"The car was built in 2000."
"The car was built in 2010."
Will WPML recognize that the numbers are not translatable and reuse the translation memory for the unchanged parts of the sentence? Or will it treat these two sentences as completely different, requiring new credits for translation?

I would like to confirm if numerical values (such as years, product codes, or dimensions) are excluded from translation costs.

Thank you for addressing this specific case as it will help clarify the costs for repetitive patterns with varying numerical data.

Best regards,
Dawid