A space to discuss online store customization, theme development, and Liquid templating.
How can I translate Search & Discovery filters without using other store apps? Thanks
To translate the Search & Discovery filters in your Shopify store without using additional apps, you can follow these steps:
Determine the language you want to translate your filters into. Let's assume you want to translate them into Spanish.
Locate the language file in your theme's code. In most cases, the language file is located in the "locales" folder within your theme. Look for a file with the ".json" extension, such as "en.json" for English.
Open the language file using a text editor. You should see a list of key-value pairs representing different text strings in your store.
Search for the key that corresponds to the text string you want to translate. In this case, you're looking for the filter-related keys. They may be named something like "filter.by" or "filter.price_range".
Edit the value of the key to the translated text. For example, if the original value is "Filter by", you would change it to "Filtrar por" for Spanish.
Save the changes to the language file.
Repeat the process for other filter-related keys or any other text strings you want to translate.
Upload the modified language file back to your Shopify theme. Replace the original language file with the updated version.
Check your store to see if the filter text has been translated according to your changes.
I didn't find any of the options such as "Price" "Product type" "Color" and "Gender" in the language file .json