font-language-override

A specialized property that forces a font to use typographic rules for a specific language, regardless of what the document's actual language is set to.

It is documented as part of the CSS Fonts specification.

/* Usage Example */
.turkish-mode {
  /* Forces the font to use Turkish-specific character rules */
  font-language-override: ";TRK";
}

/* Syntax */
font-language-override: normal;

/* Global values */
font-language-override: inherit;
font-language-override: initial;
font-language-override: revert;
font-language-override: revert-layer;
font-language-override: unset;
Limited availability Since 2020 63% global usage

This feature is not Baseline because it does not work in some of the most widely-used browsers.

143+
34+
143+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC