Is there a liquid filter to get a string from a Shopify object in a particular language (e.g. en) rather than the language of the current locale?
Can you provide some additional details?
We have some conditional logic in our liquid templates, based on properties such as product.type as follows:
{% if product.type == ‘trousers’ %}
{{ render ‘trouser-size-guide’ }}
{% endif %}
The problem is when viewing the site via a different locale (e.g. French), the product.type is translated into French, so it does not hit our conditional. I would like to know if there was a way to always return the English version of the property, so our conditional is met. Currently we have to expand the conditional logic to include all the different language translations, which is obviously not good at all.