Translation of a custom field that includes "\n", i.e. a line break, ends up being converted to just "n". How do I fix this? (When translating the same text as part of the "body" of a page/post, there is no problem, the translation is saved correctly, along with the backslash).
Hello and thank you for the suggestion about the content of my original texts,
However, I want my exact translations of the texts I really want to translate to be kept correct. Since this translation (like the original) includes (and should include) "\n", I would like to know how to get WPML to save it the way I did.
As you can see in the screenshot I attached, both the original and the translation I made contain "\n". The problem is that this is not saved when "publishing" the translation (since this part belongs to one of the plugins, it is not published in the frontend, but is only used by the plugin for captioning images). Exactly the same text, if it is part of the "page body" is saved by WPML correctly, with "\n". Accordingly, I suspect that some rule should be added (to wpml-config.xml?) so that the plugin text translation is saved correctly.
The topic ‘[Closed] Translation of a custom field that includes "\n" (line break) converts to "n"’ is closed to new replies.