WPML
Status
Resolved
Reported for
WPML Multilingual CMS 4.6.12
Resolved in
Advanced Translation Editor Oct 14th, 2024 Deployment
Topic tags
ATE

Overview of the issue

When the “prefer bigger segments” feature is enabled, line breaks (”\n”)  are not included in the translated content. This results in the content displaying incorrectly on the front-end.

Workaround

There are two ways to temporarily resolve this issue:

Workaround 1:


  • Go to WPML->Settings->XLIFF file options->New lines character

  • Enable ” Do nothing – all new line characters will stay untouched”

  • Resend the page to translation from WPML > Translation Management.

 

Workaround 2:


  • 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.

All known issues →