Two different fonts for two languages

Hello!

I was wondering if anyone knew how I can use a different font for English language and a different font for the Greek Language?

Thanks in advance!

Use a case statement like this:

{%- case request.locale.iso_code -%}
      {%- when 'gr' -%}
    	
      {%- when 'en' -%}
    	
{%- endcase -%}
1 Like

If you’re happy with this answer, please mark it as the accepted solution!

Hi Josh, I just found this thread as I am having the same situation - in need of 2 different fonts for 2 languages - English and Hebrew.

Where should the code you specified be placed in the theme files?
Thanks.

Hi Josh,

I want to use Noto Sans JP for Japanese, and Noto Sans for English.

Could you please guide me with the code and where to insert it.

Thank you so much in advance.