Home›Support›English Support›[Escalated to 2nd Tier] Translating content with listed items like 1.1, 1.2, etc
[Escalated to 2nd Tier] Translating content with listed items like 1.1, 1.2, etc
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/
Background of the problem: I am trying to translate content from Portuguese to English and French using Microsoft's option. The text includes items listed as '1.1', '1.2', etc. The problem can be seen on the page hidden link and compared to the translations at hidden link and hidden link.
Symptoms: Lines of text that start with 'N.N.' (e.g. '1.1.') are not being translated, while bulleted lists or other formats are being translated correctly. The text remains in Portuguese in both the English and French versions.
Questions: Why is text that starts with '1.1.' not being translated?
How can I fix the translation of items listed as '1.1', '1.2', etc.?
That page is a simple one created from scratch to test this issue, as we first noticied the issue on the terms and conditions page, that after updating this it stopped translatting it correctly on the 1.1, 1.2, etc starting texts.
The main page issue is at: hidden link
Witch the EN is wrong: hidden link
And the FR is wrongly translated as well: hidden link
As you can see any paragraph that starts with "1.1", or "1.2", etc is not translating the phrase entirely.
We have tested on both the engines Microsoft and DeepL same issue.
That page is a simple one created from scratch to test this issue, as we first noticed the issue on the terms and conditions page, that after updating this it stopped translating it correctly on the 1.1, 1.2, etc starting texts.
The main page issue is at: hidden link
Witch the EN is wrong: hidden link
And the FR is wrongly translated as well: hidden link
As you can see any paragraph that starts with "1.1", or "1.2", etc is not translating the phrase entirely.
We have tested on both the engines Microsoft and DeepL same issue.
I could replicate this problem. It is a problem with WPML's Advanced Translation Editor. Basically, if there is a dot (.) and a space after it before a sentence, the sentences are not showing for translation in the Advanced Translation Editor.
You can correct this by removing the last dot. For example, instead of 1.1. simply add 1.1 without a dot after the second 1 number.
You should also be able to find those sentences by searching in the search field for dot (.). I tried it on your site, and it worked. Please see the attached screenshot.
I've escalated this issue to our second-tier supporters and will keep you updated on any news regarding this issue.