Developer forum

Forum » Feature requests » Translatable facet labels

Translatable facet labels

Martin Ottesen
Martin Ottesen
Reply

Hi DW,

I'd like to request that you'd be able to translate facet labels using language layers, instead of having to either use multiple facet lists or have to customize the template with a translate tag.  


Replies

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Martin,

 

All facet names are also translate tags, you should not have to customize the template with a translate tag. Check line 241 for example https://github.com/dynamicweb/Swift/blob/main/Swift/Files/Templates/Designs/Swift/Paragraph/Swift_ProductListFacets.cshtml

 

Or maybe, where don't you see this happening?

 

Best Regards,

Nuno Aguiar

 
Martin Ottesen
Martin Ottesen
Reply

Hi Nuno, 

This is only a possibility if you are using a vertical layout, we are using the horizontal option which is not supported by a translate tag.

So it doesn't work in our solution

Thanks for the reply anyways

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Martin,

 

Are you talking about the selected facets? This file https://github.com/dynamicweb/Swift/blob/main/Swift/Files/Templates/Designs/Swift/Paragraph/Swift_ProductListSelectedFacets.cshtml ?