I try to translate the value attribute of an input
<input type="checkbox" id="html" name="fav_language" data-bind="i18n: {value:'Check here'}">
I tried something like that but it doesn't work
Thanks in advance for your help
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityFound the solution : Add a label and translate it, can't directly do it inside input
<input type="checkbox" name="checkbox" id="checkbox_id" value="value">
<label for="checkbox_id" data-bind="i18n: 'Sign In'"></label>