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
Missing lang attribute for kanji displayed in the story box #137
Comments
##Issue
誤 https://en.m.wiktionary.org/wiki/%E8%AA%A4 Firefox vs Google Chrome (without the lang attribute in the story element) |
Added The Shared Stories will not display changes until the cached templates are refreshed, which could take a while. |
Hi, Frank here again - I’ll comment on the issue directly this time ^^ I found a few places where it’s still incorrectly displayed. First one is the search box on the study pages. Also the input areas in the add flashcards or remove flashcards custom selection pages display Chinese characters. Probably other text fields are missing as well, but I guess those are the ones missing where you actually would want to input a Kanji and that’s used reasonably often (as opposed to something like "Import Customized Keywords", which is also doing Chinese). And (btw. still everything in Chrome on Windows 7 of course) I’m noticing that the font used in general is a little bit different on Chrome between Chinese and Japanese. Well … zooming in on the characters, it looks like we’re getting a font with serifs for Chinese and some sans-serif for Japanese. That affects characters in explanatory texts of your’s like on the Study Page Quick Tour’s section about Formatting or the explanations on the Custom Selection pages, the Help page, etc.. etc. And I don’t know if you ever looked into the Forum. I don’t use that, but glancing at it it appeared as if it might me displaying entirely Chinese characters right now. …skimming through the forum some more - the serif-Hanzi together with sans-serif kanji look pretty ugly. By the way, you can only see the serifs though, when zooming in a lot (or maybe if you have like an ultra-high resolution display, IDK :D). EDIT: Btw, I’m not sure how to go about that in the correct manner (except for the input fields, especially the search box), since the main content of the forum for example definitely is English, and I believe, that search engines might care about "lang" attributes, so making everything Japanese is not the best solution. — Again and again I’m getting the feeling that Han unification was not the best idea in the world xD |
Regarding the forum Customize fonts in browser I would try to address this at the browser level, in Chrome if you go to Settings > Customize fonts , there is an advanced option apparently where you can chose fonts per script. |
Yeah, I’ve been googling about this for an hour now and this seems to be pretty much somewhat a Chrome on Windows problem. At least the sans-serif and serif mixing thing. (Experimenting a bit more …) Okay, I now tried Chrome on Android and there you get a sans-serif Chinese font. Fond a random page with a lot of characters in the forum where I could actually test it. And Firefox on Windows gives me some actual Japanese characters. For whatever reason. This whole stuff is pretty messed up :/ |
Hi, just an additional comment because I just fixed the issue for me. The easy solution in Chrome is to change the Chrome “Language” options. There’s an entry where you can “Order languages based on your preference”. Adding Japanese to the end of the list does the trick :-) Also, I’d be guessing, most “very experienced Japanese learners“ have changed their browser to Japanese, so they avoid the issue not only on your site but throughout the internet ^^ |
The text was updated successfully, but these errors were encountered: