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
`
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.
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
`
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!