I want to translate Filter by text:

enter image description here

I have translated it in app/i18n/es_ES.csv and in app/design/frontend/.../Theme/i18n/es_ES.csv but this doesn´t work. I have tried all the possibilities:

enter image description here

What can I do?


2 Answers 2


I had the same problem. There's no chance to translate "Filter by" with the csv file. I resolved the problem editing config.xml in this location html/app/code/Theme/Ajaxlayernavigation/etc

enter image description here

If you founded another method let me know, but this way works for me

  • Ou yeaaaah! Thaaanks Aug 27, 2020 at 13:01

By default in Magento 2, "Filter by" text is not available, So make sure that the text printed in the file from the theme or module has used the standard Magento 2 coding standard like.

<?php echo __('Filter by'); ?>
  • Yes, the text printed is correct, but the translation doesn´t work. :( Jun 17, 2020 at 7:48
  • Have you added the module name in csv with the word you want to translate, like Magento_Catalog ? Jun 17, 2020 at 8:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.