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.

Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 10:00 8:00 – 10:00 8:00 – 13:00 8:00 – 13:00 9:00 – 13:00 -
- 11:00 – 17:00 11:00 – 17:00 14:00 – 17:00 13:00 – 17:00 13:00 – 18:00 -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by Lauren 32 minutes ago.

Assisted by: Lauren.

Author Posts
March 21, 2025 at 5:18 pm

Stelios

Background of the issue:
I have translated the website with ATE and automatic translation using WPML AI. For some reason, there are many places where the ampersand (&) symbol doesn’t appear in the translation. The issue can be seen on this page: hidden link. In the link I provided, the text on the top should be 'Corporate & Workplace Nutrition Wellness'. There are other cases like this hidden link where the title should have been 'Woman & Child' but the & disappeared after the automatic translation.

Symptoms:
The ampersand (&) symbol doesn’t appear in the translation, resulting in extra spaces where the symbol should be. In the ATE, the & symbol exists in the first link, but in the "woman child" it disappeared.

Questions:
Why does the ampersand (&) symbol disappear in the translation?
How can I ensure the ampersand (&) symbol appears correctly in translations?

March 21, 2025 at 6:31 pm
March 21, 2025 at 9:24 pm #16846490

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

For additional testing, can you please temporarily switch to a different translation service engine such as Google, create a test page that includes an & symbol and translate the page. Does the & display if you use a different translation service?

If not, please try these steps. Please be sure to make a full backup of your site and database.

Then, go to WPML -> Support -> Troubleshooting.

Look for 'Clean up' and click the following:
- Synchronize posts taxonomies
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Synchronize local job IDs
- Fix Terms count
- Fix post assignment for translations

March 23, 2025 at 4:36 pm #16849044

Stelios

I tried translating with Google Translate, and indeed it retains the & symbol and it gets displayed correctly.

I guess that means the issue is with WPML AI translation (or might be with other ones as well).

The thing is that this website has tons of content, so if the & wasn't translated, what can I do?

March 24, 2025 at 9:42 pm #16854165

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I have a test site set up with WPML AI translation service enabled. WHen I try to test auto translating a Greek page to English, I get this message:
"The site's default language Greek doesn't support automatic translation."

Did you have backup translation services enabled in your site? You mentioned you used automatic translation and Greek was default - or did I get that wrong?

Feel free to use the test site I set up and run some tests there to see if we can reproduce the issue. This link will automatically log you in:
hidden link

March 25, 2025 at 10:45 am #16856718

Stelios

This is some kind of bug on your end, Greek is supported as you can see here hidden link

It can also be seen from the usage reports, and also I have contacted support for a different issue, again related to WPML AI, which was resolved and they never mentioned Greek not being supported.

While I was typing this message, I did some testing and found the bug:
- I went to WPML -> Languages
- changed the "Language mapping" for Greek to something different but DIDN'T click save
- changed it back to Greek, then clicked the "Save" button
- clicked it and voila, error is gone.

So this is a different bug I guess, something is not stored correctly and has to be saved again.

March 26, 2025 at 2:41 pm #16863470

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I resolved that issue with mapping Greek by enabling the additional translation service engines. Do you only have WPML AI translation service enabled on your site, or do you have any backup translation engines enabled?