Translation of filter values in other languages

Translation of filter values in other languages

MCudSum
Visitor
2 0 1

Hello,

 

I have read several threads regarding the translation of the filter values in other languages (the filter values are always listed in the default language regardless of the language selected in the language menu) but no solution has been provided nor the possibility to manually translate the options.

 

Am I missing something?

I would appreciate your help since the second language is not included in the list of supported languages in Shopify (Apparently Auto-translation can translate the filter values in other supported languages, I tried in Italian and it worked but it is a problem for non supported languages).

Thank you

Replies 3 (3)

PaulNewton
Shopify Partner
7450 657 1562

Hi @MCudSum 👋 It's not actually clear what the real goal of what your asking is so assuming it's all about this part "manually translate the options".

Which means multiple things: A) if an app can accept a language then use CSV import/export if the language is incompatible for auto-translation but still able to be processed by the app B) no app is involved: hardcoding the values or using locales with advanced theme customizations.

Though this seems like an xyproblem : self prescribing a manual solution in place of seeking out a more advanced translation app or service.

 

Developing custom translation behaviors in themes:

Manually create translation keys and do advanced theme customizations to apply desired values:

https://shopify.dev/docs/api/liquid/filters/translate 

https://shopify.dev/docs/storefronts/themes/architecture/locales/storefront-locale-files 

https://shopify.dev/docs/storefronts/themes/markets/multiple-currencies-languages 

 also https://www.shopify.com/partners/blog/translation-keys 

or lower level

https://shopify.dev/docs/apps/build/markets/manage-translated-content 

 

If you need advanced theme customizations then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


MCudSum
Visitor
2 0 1

Hello PaulNewton, 

 

Thank you for your replay.

The problem is quite common, if your default language is English and the second language Macedonian or any other language that is not supported by Shopify, the filter values are always displayed in English. CSV import/export does not solve the issue.

 

Nevertheless, I found the solution. For those with the same problem:

 

1. In the Product page scroll down to Product metafield

2. Create Product metafield and add definition (the Product metafield name will be the filter label name)

3. Add values (the value names will be the filter values)

4. Associate the filter value with the product)

5. Translate the product metafield name and value name in Translate and adapt app.

 

That's it

 

Thank you

PaulNewton
Shopify Partner
7450 657 1562

Great work, you can mark your own reply as a solution to highlight it for future readers.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org