Different asset depending on language (logo)

Hey, I Recently started translating my store to arabic from English and I’d like to change the logo when the homepage is in Arabic translation to my arabic translated logo, is there a way I could do that myself? I have been looking all over and I don’t see a reference to this, I tried using the word image, asset localization and such while searching incase I was searching for the wrong thing.

Any help would be appreciated,

Thanks in advance

Hi @Spadix ,

Please send your site and if your site is password protected, please send me the password. I will check it.

<!–
/* Font Definitions /
@font-face
{font-family:“Cambria Math”;
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/
Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:“Calibri”,sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}

SPADIX.AE

Hi @Spadix ,

You can refer code:

{%- capture contentForQuerystring -%}{{ content_for_header }}{%- endcapture -%}

{%- assign pageUrl = contentForQuerystring | split:‘“pageurl”:"’ | last | split:‘"’ | first | split: shop.domain | last |

replace:‘/’,‘/’ |

replace:‘%20’,’ ’ |

replace:‘\u0026’,‘&’

-%}

{%- if pageUrl contains ‘/ar/’-%}

// show logo Arabic

{%- else -%}

// show logo English

{%- endif -%}

Hope it helps!