Re: Is it possible translate the produts types? in filter facets

Is it possible translate the produts types? in filter facets

AlfredoGama
Shopify Partner
9 0 0

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? 
 
 

 

Replies 7 (7)

Localize_Alex
Shopify Staff (Retired)
6 1 4

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.

To learn more visit the Shopify Help Center or the Community Blog.

AlfredoGama
Shopify Partner
9 0 0

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

 

AlfredoGama_0-1681044469175.png

 

warm regards

Alfredo

richbrown_staff
Shopify Staff
652 96 170

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

To learn more visit the Shopify Help Center or the Community Blog.

FredAz
Excursionist
16 1 4

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

PrintNStuff
Excursionist
18 0 3

Hei Alex, any updates on this?

richbrown_staff
Shopify Staff
652 96 170

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.

To learn more visit the Shopify Help Center or the Community Blog.

richbrown_staff
Shopify Staff
652 96 170