Skip to content Skip to sidebar

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.

Tagged: ,

This topic contains 1 reply, has 0 voices.

Last updated by Silvia Mancini 4 months ago.

Assisted by: Alejandro.

Author Posts
May 9, 2025 at 4:12 pm #17017349

Silvia Mancini

Background of the issue:
I edited a part of the text in Italian on my site hidden link, and I am trying to wrap a part of the text in the English translation.

Symptoms:
I can't seem to wrap a part of the text in the English translation.

Questions:
How can I wrap text in the English translation using WPML?

May 12, 2025 at 1:02 pm #17023155

Alejandro
WPML Supporter since 02/2018

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Hello there.

The original one looks like it's been separated only because of the amount of words that fit in one line, it gives the illusion there's a return there when actually there's not (at least there isn't any when you check the actual content from the DOM).

This is how the original one is formatted:

Che tu sia un principiante o un appassionato, in cerca di una semplice escursione o di un’avventura multiday, da solo o in gruppo, con SUP Ventura troverai sempre l’esperienza perfetta. Ti aspettano istruttori federali, attrezzature di qualità e una vasta gamma di tour, dalla Riviera del Corallo fino agli angoli più suggestivi della Sardegna. Contattaci per creare insieme la tua avventura!

There are 2 spaces there so in here you may have 2 solutions:

1) (Recommended) create a real carriage return on the original text and then save + update the translation, you may not even have to change anything there, but the result will contain the carriage return where you want.

2) Try to add a manual carriage return maybe at the beginning of the segment you showed me in the screenshot or in the previous segment, at the end. I don't really recommend this because it's more of a hack and it may not work properly.

Regards,

May 12, 2025 at 1:15 pm #17023176

Silvia Mancini

Thank you very much