Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Font issues on certain translations (namely CJK that have larger fonts) #376

Open
SubaruArai opened this issue Apr 27, 2022 · 0 comments
Open
Labels
i18n Localization layout Website layout

Comments

@SubaruArai
Copy link

The problem

In some languages, the mixed Latin font and local font makes it really hard to read (or even realize) the dots.

Examples:

As an quick example, here's the first line of Summary:

EN:

Given a version number MAJOR.MINOR.PATCH, increment the:

CJK (as a bad example):

版本格式:主版本号.次版本号.修订号,版本号递增规则如下:
版本格式:主版號.次版號.修訂號,版號遞增規則如下:
バージョンナンバーは、メジャー.マイナー.パッチ とし、バージョンを上げるには、
버전을 주.부.수 숫자로 하고:

Arabic (as an OK example):

بإعطاء الترقيم التالي ترقيع.بسيط.جذري أو كما يُعرف MAJOR.MINOR.PATCH لنُسخ البرمجيات، قم برفع درجة:

Since GitHub renders as if it wasn't so bad, here are some screenshots (1080p 24inch monitor, browsed with firefox, chrome was pretty much the same):
image
image
image

Proposals

Changing the font

I think the problem lies with the font selection.
In Japanese, the font used was (from the browser dev tab) 14.4px/1.5 Helvetica, Arial, sans-serif.
Below is a comparison of changing it to 14.4px/1.5 sans-serif (the lower line):
image

At least for me, this improves a lot.

Quote as in-line code (`...`)

As an alternative, we can quote every one of those instance as in-line code using grave accents.
This will overwrite the font used, solving the problem.

forcing to use English in all those areas

While quite a bit extreme, we can also force to use English only in such sensitive words.
The Arabic translation and some others seem to do that.

Although I'm rather against it, since it's one step backwards from translation.

Questions

  • How should we handle this issue?
  • If changing the font is the way to go, what kind of PR should I make?
@JohnTitor JohnTitor transferred this issue from semver/semver Jul 26, 2022
@JohnTitor JohnTitor added layout Website layout i18n Localization labels Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n Localization layout Website layout
Projects
None yet
Development

No branches or pull requests

2 participants