How to setup a meta desription in different languages

Hello,

we are using G Translate to translate shopify to different languages. No we see the problem with the meta description. Our basic language is german and it is shown on foreign google results also in german language. Do you have any idea how we can technically solve this issue, that we can setup the meta description in different languages?

BR,

Simon

Hi @feelbelt ,

You can use ‘request.locale.iso_code’ to check and change Meta Desription. Refer https://shopify.dev/api/liquid/objects/shop-locale

Ex:

{%- case request.locale.iso_code -%}
      {%- when 'de' -%}
    	
      {%- when 'en' -%}
    	
    {%- endcase -%}

Hope it helps!