Why is the text in Magento not being translated?
Check the translation files
If the text isn’t translated but still displays English, there might be a problem with the translation files.
Magento 2 uses a CSV file to configure translations, using a phrase as input and outputting the translated version of this phrase. These translations have to be in the file, otherwise the input text will be left untranslated.
Tip: To solve this, add your translation file to the directory. If the file is already there, add another entry at the end of it. Backup this entry as it can be overwritten or affect updates on the plugin.