Magento 2 – How to Translate Text Without Auto Translate

magento2

I have a text after installing a payment module which I can not translate in any way. I have opened the magento translator but it does not include this text. How can I translate this?
enter image description here

EDIT2:
I have added translate line to pl_PL.csv in payment module use notepad:

"Pay using Masterpass","Zapłać kartą Masterpass"

Then I refresh page and no see any result.

Of course before refresh, I run some command:

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush

Impossible edit name in backend:
enter image description here

enter image description here

Best Answer

To translate new text you can add text and its translation in module language csv file like this :

'Your Text here','Your translation here'

However in templates the left side text should be defined using magento translator function like this :

<?= /* @escapeNotVerified */ __('Your Text here') ?>
Related Topic