Translating Shopify Search & Discovery Filters

gbastore
Tourist
10 0 3

How can I translate Search & Discovery filters without using other store apps? Thanks

 

Screenshot_1.png

Replies 2 (2)

NomtechSolution
Astronaut
1245 113 148

To translate the Search & Discovery filters in your Shopify store without using additional apps, you can follow these steps:

  1. Determine the language you want to translate your filters into. Let's assume you want to translate them into Spanish.

  2. 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.

  3. Open the language file using a text editor. You should see a list of key-value pairs representing different text strings in your store.

  4. 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".

  5. 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.

  6. Save the changes to the language file.

  7. Repeat the process for other filter-related keys or any other text strings you want to translate.

  8. Upload the modified language file back to your Shopify theme. Replace the original language file with the updated version.

  9. Check your store to see if the filter text has been translated according to your changes.

gbastore
Tourist
10 0 3

I didn't find any of the options such as "Price" "Product type" "Color" and "Gender" in the language file .json

 

 

Screenshot_1.png