Is there a way to translate phrases defined in JS templates in Magento 2? I have checked official translation structure overview and searched the net but can't seem to find proper solution.
For example: I wish to translate Qty string within minicart element. I have added the following translation to i18n/xx_XX.csv:
but doesn't take effect after refreshing. Other strings within the csv that are server side generated are translated fine.
I also have tried with deleting all cache files within
/var and refreshing/flushing cache from admin.
Thanks for any suggestions.