wikimedia / jquery.i18n

🌐 jQuery based internationalization library
GNU General Public License v2.0
704 stars 144 forks source link

Please update documentation #169

Closed ivanromakh closed 6 years ago

ivanromakh commented 6 years ago

In documentation there is underscore in keys message_hello this not working can you replace it with dash instead $('selector').i18n() -> didn`t show me translation when I used underscore. Thanks for such cool library I will give it a star:) Please:)

phivk commented 6 years ago

I'm adding to this issue to prevent duplicates. @santhoshtr please comment if you'd prefer separate issues for additional documentation items.

Another thing missing from the documentation is the ability to render HTML markup inside message strings via the data-i18n method by prepending [html] to the message key like this:

data-i18n="[html]fillafulla-lead"

Would be great to add this to the documentation.