Magento uses the file called view.xml which is maintained at the theme level of the application.
So for example, if you are using the default theme luma you should find the view.xml under vendor/magento/theme-frontend-luma/etc/view.xml
In this file, you would see <images/> node inside the node.
The correct way is to set the attribute to be used in search as well as to make it visible in advanced search by editing the attribute properties in admin -> attribute edit page -> Storefront properties -> Use in Search = yes & Visible in Advanced Search = yes
Visible in Advanced Search — Gives shoppers the ability to enter search criteria ...
Actually there's another easier way which is Inline Translate.
Translating is simply just changing 1 text to another.
You can use Inline Translate or Translate using the i18n folder that Magento provided.
More information can be found here: https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/translations/xlate.html