jquery.i18n
jquery.i18n copied to clipboard
data-i18n change multiple attributes
(Translated by Google)
Is it possible to change the value and an attribute of an element simultaneously, with data-i18n?
<button data-i18n="[title]Text-a">Text-b</button>
In this example I want to translate the TITLE and the content of the BUTTON
I have a similar issue.
Example:
<input type="text" placeholder="Enter your name" title="Only Latin letters are allowed"></input>
How do I localize both placeholder and title?
to @antonvasilev52 i think showing like this can also be a solution
enter your name
enter your name <input type="text" placeholder="Only Latin letters are allowed"">