I am trying to translate and localize strings in the mini cart. It is not working doing it the standard way (csv in i18n).
It seems a different approach is used then standard strings in the code. E.g.
<?= $block->escapeHtml(__('My text ')) ?>
How can this be translated? Thank you for your input.