Base solution for your next web application
Open Closed

How to change font based on language #908


User avatar
0
mengvisal created
Support Team

Hi!

When I change a language, I want to change a body font as well. So, what is the best way to do it in ASP.NET Zero for SPA?

Best,

Visal


3 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    You can just check the current language and include language-specific css/fonts in the layout.cshtml

  • User Avatar
    0
    mengvisal created
    Support Team

    Hi!

    Where should i check the current language and include the font layout to make sure that when a user changes a language in Login and in Header bar, the appropriate font layout is loaded?

    Best,

    Visal

  • User Avatar
    0
    mengvisal created
    Support Team

    Ok never mind. I get it. Thanks!