[Waiting for user feedback] Ampersand (&) symbol doesn't appear
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.
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?
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
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
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.
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?
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.