So here is my actual code:
<p>Welcome to <span id="city"></span> !</p>
I am currently using this jQuery plugin to translate text in the client side.
So to be short, I need to set
<p class="trn" data-trn-key="welcome_message"><span id="city"></span></p>
This way the plugin will find the correct langage set by the user and then translate the entire < p >< / p > tag, the problem is that it totally erase my span ! so the result is
Welcome to **And no city here because the span has been erased by the translation**
Any Ideas ?
Thank you !