It's that time of year again, where the Furigana engine has been starting to show cracks, and there's the feeling it needs to be duly resuscitated.
I've been trying to employ, as much as I reasonably can, a balanced approach in resolving, or mitigating, the following issues in the (now live) new version of the Furigana engine:
Do we really need ruby characters all the time? and The state of browser support of Furigana, and bottom-aligned Furigana
First and foremost, I've tried to put focus on reducing the visual impact of Furigana, and making sure things render consistently across browsers and OSes (whether mobile or desktop). Most of the changes can be seen in my answer to the latter question.
直 and 喝: Han unification, and being able to write Japanese on JSE
With
{{(lang code):text}}
tags, you will be able to insert<span lang="(lang code)">text</span>
, and use a font for that language (as chosen by the OS).The Furigana engine should fully be supported in the mobile site. I'll ask about whether it can be added when asking for the update to be performed.
User Experience: Discovering the Formatting Syntax Documentation
I've added "Furigana/Japanese extension help »" links below the inline editors to make sure people can find the docs.
Encouraging participation from native Japanese speakers: translating posts
I've added basic translation tage: you can add
# Japanese
/# 日本語
/# 和訳
and# English
/# 英語
/# 英訳
header tags at the start of lines to allow for tabbed translations.This is simplified a lot from what I previously coded to try to keep things simple. I might extend this if it gets used. If it doesn't and it needs to be removed, the answers will be backwards reversible (as they're just standard headings).
Struckthrough Japanese text doesn't get wrapped in a lang="ja" span and Ultra-minor bug with the JLU furigana extensions
Have been fixed.
I might wait for a week or two before asking for an update to check everything's stable, but if you'd like, you can try the new engine on Chrome or Firefox) in the meantime by:
Using adblock plus [Chrome/Firefox] to block
//sstatic.net/js/third-party/japanese-l-u.js?v=9
(the current version used on JLSE)Installing Greasemonkey(FF)/Tampermonkey(Chrome)
Then going to http://gist.github.com/cyphr/6536814, and clicking "Raw" in the top right.
Please let me know if there's any issues I've missed/anything you think should be changed etc.