melink14 / rikaikun

rikaikun is a Chrome extension that helps you to read Japanese web pages by showing the reading and English definition of Japanese words when you hover over them.
https://chrome.google.com/webstore/detail/rikaikun/jipdnfibhldikgcjhfnomkfpcebammhp
GNU General Public License v3.0
428 stars 80 forks source link

Convert Japanese calender year notation to western calendar year notation #1052

Open melink14 opened 2 years ago

melink14 commented 2 years ago

Is stuff like this possible? 昭和58 -> 1983 昭和五十八年 -> 1983 大正元年 -> 1912

Looks like there is a different chrome extension that does this, but would be helpful to have it in rikaikun since I have it on a lot anyway!

Originally posted by @zmcnulty in https://github.com/melink14/rikaikun/discussions/1050

tora-pan commented 1 year ago

Do we also want to do the reverse? 1983 -> 昭和58 & 昭和五十八年 1912 -> 大正元年

zmcnulty commented 1 year ago

In my experience, reverse conversion is usually only necessary when dealing with Japanese beauracracy, i.e. the world of paper forms and fax machines. Probably not necessary for a browser extension.