How to do Translation for header and Footer?

Hello

I have successfully Translated my MFE Custom Strings Translation. but for Frontend-component-header and footer i have added my Spanish translation
where i have added my id
{
“header.links.discover”: “Descubrir”,
“header.links.discoverPrograms”: “Descubrir Programas”,
“header.links.mycourses”: “Mis Cursos”,
“header.links.programs”: “Programas”,
“header.links.discover”: “Descubrir”,
“header.links.discoverPrograms”: “Descubrir Programas”,
}
/src/i18n/messages$
es.json es_ES.json

after that did npm run build as well

then did tutor images build mfe --no-cache

but still in my header and footer the default strings are coming in Engish language only …expect header and footer other MFE translation is getting translated in Spanish

How to solve this issue can anyone help me for same ??

I am using REDWOOD release 2 version for MFE

Can Anyone Guide me for same ??