You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.
I think a possible neat and WordPress-like solution is, for example;
If the site setting is ja, the theme will additionally look for and load ja.css on top of style.css.
If the site setting is en_gb, the theme will look for en_gb, then en...
and so on . A conditional or auto-loading of language specific php would be nice too, because then we can dequeue the latin font, and replace with, e.g., ja font if only the site is ja.
I know that Justin Tadlock's Hybrid theme series has had this customization for a long time. I have contributed to his Stargazer theme's ja.css. Also as a bonus, this way, it makes easier for polyglot community to add contribute language specific files later its release.
Would this be feasible solution to adopt this into twentytwenty? (event better, the core?)
(of course, not adding the Hybrid-Core into twentytwenty but adopting some relevant codes)
nukaga
changed the title
Optimized for non-latin design
Conditional loading of language/locale specific css and php files
Nov 8, 2019
Description
In the current site design, the title is too large in Japanese and Chinese.
The center alignment is also extraordinary.
#118 (comment)
#118 (comment)
Solution
Is it possible to separate the title and body CSS in several languages?
The text was updated successfully, but these errors were encountered: