Is it possible to make a localization token for a paragraph?
I need to write some paragraphs (with new lines, bold, italic, etc...) and thay have to be translatable.
The problem is that in localization token I can only write a word or a phrase but I have no way to make a new line or something like that (I hoped I could do it by using html commands but they don't work).
My solution is to write a service which returns a string but before doing it I wanted to ask if there is a way to do it by Localization tokens so that, in the future, I won't need to "touch" my services in case I want to add a new language.
Hi Fabio Manniti, for me it worked, I just typed the following Code to display a popup ***POPUPMESSAGE***
div style="color: #5e676c;font-size: 12px;font-style: normal;font-weight: bold;text-align: left;text-decoration-color: -moz-use-text-color;text-decoration-line: none;text-decoration-style: solid;"> ***POPUPMESSAGE TO TRANSLATE***<br/> ***POPUPMESSAGE***</div>
hope this helps?
I'm using 7.2
Fabio Manniti, You can also try to create multiple phrases in Localization table.
Then in the service find the language of the user; use token to get the phrases in the corresponding language and show the output as per your requirement.
I hope it helps.:)