jquery-localize icon indicating copy to clipboard operation
jquery-localize copied to clipboard

image localization with jquery-localize

Open larslue opened this issue 9 years ago • 0 comments

Hi

after several hours of work I finally found out how to localize images with this plugin. Say you want to have a different logo for every page then you have to define it: html <img src="./path/to/logo.png" data-localize="logo" />

And then define it in your application-en.json. javascript { "logo": { "src": "./path/to/logo-en.png", "alt": "logo" } } This way works with images, input field and all sorts of special html tags. Please add this to the docs so other people won't have a hard time finding it out.

Thanks!

larslue avatar Jul 10 '16 14:07 larslue