I want to Translate a custom button name using i18n. I tried like this
app/code/My_vendor/My_module/i18n/ar_SA.csv
"I am the gift Receiver","أنا المتلقي هدية"
The affect should take place in below html file
app/code/My_vendor/My_module/view/frontend/web/templates/actions.html
<button click="datafill">
<span data-bind="i18n: 'I am the gift Receiver'"></span>
</button>
Note: I also tried translate but it also didn't work for me.
Question: How to translate i18n value from tag in html.