Now I'm asked to translate the module to other languages. I can use the CF multilanguage element for fixed parts of forms of type A but I must do it another way for variable parts, text that is loaded from fields in records of form of type B and put inside form A.
To translate the variable text I installed the Easy Language plugin and it works fine.
Almost fine...
The plugin works like the following:
{lang en}english text{/lang}{lang it}testo in italiano{/lang}
So I use this format when I want a multilanguage parameter text in form B.
The problem is that when I edit a record of form B, part of the plugin tags are lost. The previous text becomes:
{lang en}english text{lang it}testo in italiano
That is the closing tag in curly braces is lost.
I suppose this is a problem of CF, probably the content of the record is sanitized before being shown.
Is there a way to prevent that effect?
Thank you
maxx