How can I display product titles in English while my store's locale is set to French?

Hey, I’m wondering if someone has any idea how to approach this.

Let’s say my store’s locale is currently set to French but I would like to display the product title on PDP in English (so the ‘en’ locale), how do I go about it? Is there a liquid syntax for getting the title in a particular locale?

Hi @chideraa ,

Can you explain more about ‘product title on PDP’?

I will check it

Hello @chideraa ,

You can refer https://help.shopify.com/en/manual/markets/languages to solve your issue.

Hi Chideraa, did you manage to work this out? I’m trying to achieve the same thing. Basically with the below code, but not sure where/how to get the English product.title

{% if localization.language.iso_code == 'ja' %}
  {{ product.title }}
{% endif %}

Unfortunately not! I asked tech support too and no dice :disappointed_face:

Damn, that’s unfortunate. We’ve gone the route of using a metafield for the Japanese title. So the product has an English title (primary language), but no Japanese title on the product itself.

Code example for anyone that is interested

{% if localization.language.iso_code == 'ja' and product.metafields.translation.title_ja %}
  {{ product.metafields.translation.title_ja }}
{%- endif -%}
1 Like

Looking to solve the same problem. Has someone found way to do this?

I need this. Any update?

Thanks, this is the only way I can think of that will work, too.