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.

This topic contains 9 replies, has 2 voices.

Last updated by Andrey 1 month, 1 week ago.

Assisted by: Andrey.

Author Posts
August 22, 2024 at 1:36 pm #16095208

markv-51

Background of the issue:
I've been using wpml for a while. I just bought new credits to translate new content, but all content is formatted weirdly. Every sentence is on a new line. In the code I see that a
is added after every sentence. Also, the slugs for the translated versions show really weird names, like /product-name-copy-copy

Symptoms:

Questions:

August 22, 2024 at 8:56 pm #16096749

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

First, you should update WordPress to the latest version and the other related plugins on your website, including the WooCommerce Multilingual & Multicurrency plugin.

Such slugs could be expected if you ever duplicate your products. You probably corrected the slug for the default language but not for the translations. You can test this by creating a new product, translating it, and seeing if this happens.

Once you have updated everything, please update the page translation by making slight modifications to the original page, saving it, and then navigating to the WPML translation editor. If the issue persists, please upload screenshots showing the problem.

August 23, 2024 at 6:54 am #16097343

markv-51

I also updated the last plugin, the other ones were already up to date. I've make some changes to the original, but the formatting is still not correct.

The slug issue is not the biggest problem, I can of course change these manually but this was not an issue before. The formatting one is really annoying because all our product pages look messed up.

August 23, 2024 at 5:19 pm #16099298

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Can you upload screenshots of where the problem can be seen?

But first, please check and test the workaround from here if it sounds the same:
https://wpml.org/errata/line-breaks-are-ignored-when-using-the-advanced-translation-edior/

August 26, 2024 at 7:19 am #16102825

markv-51

Hi,

The workaround is not really the same problem. Our original text does not have the line breaks, but the translated text has them. Included are the original text (Dutch) and the automatic translated one with the line breaks (English)

Scherm­afbeelding 2024-08-26 om 09.14.42.png
Scherm­afbeelding 2024-08-26 om 09.14.27.png
August 26, 2024 at 12:52 pm #16104580

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback. I understand the issue now.

Have you tried the following workaround? It might help as well.

- Go to the top right corner of the translation editor.
- Click the gear icon.
- Disable the option “I prefer bigger segments.”
- Close the editor and send the page to translate again via WPML > Translation Management.

August 26, 2024 at 3:50 pm #16105755

markv-51

Hi,

Just tried your workaround, unfortunately without succes..

August 28, 2024 at 8:21 am #16113246

markv-51

Any new suggestions? I cannot really continue translating our site currently with this issue.

August 28, 2024 at 10:23 am #16114168

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

To be of better help, I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.

Please point me to the page I can check.

August 29, 2024 at 8:57 am #16118611

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for the details.

I have reviewed the product you provided as an example, and I actually do not see the issue. I have attached the screenshots.

To check the problem further, you'll need to update WordPress to the latest version, WooCommerce, and the other related plugins on your website.

Screenshot 2024-08-29 at 11.54.24.png
Screenshot 2024-08-29 at 11.54.16.png
August 29, 2024 at 9:55 am #16119171

markv-51

Hmm, I do not see the issue anymore either! Don't know what caused the issue but seems to be fixed. Thank you for your help!

markv-51 confirmed that the issue was resolved on 2024-08-29 09:55:40.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.