I have a Magento 2 setup with a danish language package installed and porto theme. But the search fields text "All categories" is not translated:


I tried to add a i18n folder in my theme. Both in the the root "porto_child" and in the Magento_Search.

enter image description here

The content of da_dk.csv:

"All categories", "Alle kategorier"

But I can't get it to translate.

I saw this post How to properly transalte All Categories to another language? But I don't have a vendor/mageplaza folder, though the danish translation is from Mageplaze. I don't know where that translation lives?

1 Answer 1


you can find below file in your module


and find function


enter image description here

and use here All Categories word with standard magento way..


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.