I have multi language store, what I want to accomplish is to have my search bar categories field translated into two languages. I cannot seem to find how to translate "All Categories" to another language. I saw that it is hard coded in a file called form.mini.phtml. This is just a small part of the file but so you can have the idea.
<?php if($currentCategory != ""): ?> <?php echo $currentCategory ?> <?php else: ?> <?php echo __('All Categories'); ?> <?php endif ?>
Is there any way I can have this part translate so whenever a user opens the German version of the website it will say "Alle Kategorien" and when the English version is opened "All Categories" Thanks.