I can't translate the string 'All' from the subcategory on mobile menu. The file where the string appears is menu.js
located on public/lib/web/mage/
And it looks like this:
.text($.mage.__('All ') + category);
So only the string 'All' needs to be translated, it doesn't require to put something like 'All %1', 'translatedAll %1' in my language file. The translations I made looks like this:
"All ", "translatedAll "
Also I tried to put the location for the translation, like this:
"All ","translatedAll ",lib,lib/web/mage/menu.js
But it doesn't work. I also tried to translate directly in the en_US.csv file from public/lib/web/i18n/
. Not working either
How can I translate this?
menu.js
file?magento cache:clean translate
or System>Cache Management.