i have one legacy module with .html file, which contains label which i'd like to translate. Originally it looks like this:
<label class="label" for="carrier_department"><span>text to be translated</span></label>
i have changed it to:
<label class="label" for="carrier_department"><span data-bind="i18n: 'text to be translated'"></span></label>
but this is not helped, it's still not translated. p.s. cache cleaned, re-deployed, translation exist in csv file. any ideas?