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.

Magento 2 Developer Configuration

Enabling Translate Inline

Choose whether you want it to be enabled for Storefront or for the Admin panel.

Magento 2 Enable Translate Inline Tool

Once you have finished don't forget to press the Save Config button.

Magento 2 Save Configuration

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.

Magento 2 Using Translate Inline Tool

Press the Submit button and reload the page.

Magento 2 Unsing Translate Inline Tool part 2

Afterward, go back to Translate Inline configuration to disable it and don't forget to re-enable Magento caches.