Hello @phantonym
Magento 2 is provided by default translation option using ADMIN. you no need to change on any PHP or PHTML file.
Note: As per Magento coding standard you have used Magento admin option OR you have to create a language pack for translation. Below steps are using Magento ADMIN Options.
If you are in a development mode. Please follow the below steps.
- Magento admin > Store > Configuration > Advance > Developer > Translate Inline > Enabled for Storefront as YES
- Refresh the Cache.
- GOTO Front and refresh the forgot password page. Please check the below video.
- http://srecorder.com/uploads/2019-03-21_07.44.28.mp4
If you got a solution, please Accept as Solution & Click Kudos.