Is it possible translate the produts types? in filter facets

Hello!

I neet to translate the product types and show them in the facets.liquid snippet.

I’ve changed the code but the translation is not found.

Line 92 {{ value.label | escape }} ({{ value.count }}) to —>

{{ value.label | escape | t }} ({{ value.count }})

but no success, did you face this issue before?

Hi @AlfredoGama ! I’m Alex, a designer on the Translate & Adapt team. It’s not currently possible to translate content within filters. It’s a complex issue and we’re working to implement it.

MAny thanks for your answer, also in the filters I can’t see the translations of product attributes like color. I see that I can translate them but the theme is not showing the translation. If you chek the code in snippets/facets.liquid line 331

warm regards

Alfredo

Hi Alex, is there a way to translate product type or at least display categories in the filter ?

Hi all, some good news: as of today both custom filter labels and custom filter values / filters from Search & Discovery app are translatable. More here. Please try, and feed back with any issues! Rich

Hei Alex, any updates on this?

Hi @PrintNStuff , repeating my answer just not for complete visibility: unfortunately Product Type is not currently translatable (October 2023) and does not show in the non default language. This is being looked at but I don’t have a timeline for you.

Please see: https://community.shopify.com/post/2307364