If you need to translate some text in Magento 2 you can use the Magento Inline Translate functionality.
In order to enable it, your Magento needs to be in the default or developer mode. Then you need to go to Admin Panel > Stores > Settings > Configuration > Advanced > Developer > Translate Inline.
Enabling Translate Inline
Choose whether you want it to be enabled for Storefront or for the Admin panel.
Once you have finished don't forget to press the Save Config button.
You may be interested in:
Using Translate Inline
We recommend you to make sure that Magento block cache, page cache, and translations cache are disabled before using the Translation Inline Tool.
In order to translate some text move cursor (mouse) to the very phrase, find a small book sign and press it. Then make a translation in the Custom field. Put the checkmark in the Store View Specific section for indicating it for that language and for that store view specifically. If you want the new translation to be used for all the store views, please ignore this checkmark.
Press the Submit button and reload the page.
Afterward, go back to Translate Inline configuration to disable it and don't forget to re-enable Magento caches.