musicblocks icon indicating copy to clipboard operation
musicblocks copied to clipboard

Search for Japanese should detect both kana and kanji versions of words

Open pikurasa opened this issue 5 years ago • 3 comments

Search is super-helpful!

Japanese would benefit from an additional enhancement.

Currently, if the user is in kana mode, kanji input is not detected. Likewise, when the user is in kanji mode, kana input is not detected. It cannot be assumed that a user in kana will only input (e.g. type or paste) kana and visa-versa.

Current behavior:

  • Kana in Kanji mode: Undected Screenshot at 2020-01-03 22:34:25 kana in kanji-mode
  • Kana in Kana-Mode: Detected Screenshot at 2020-01-03 22:34:10 kana in kana-mode
  • Kana in Kanji Mode: Undetected Screenshot at 2020-01-03 22:31:52 kana in kanji mode
  • Kanji in Kanji Mode: Detected Screenshot at 2020-01-03 22:31:34 kanji

Desired Behavior. Search finds results whether or not the input is kana or kanji. The display of the results should be the same as the chosen language setting (regardless of input).

pikurasa avatar Jan 04 '20 03:01 pikurasa

Is this issue still open for work?

DantrazTrev avatar Jan 29 '20 10:01 DantrazTrev

All issues are available. This issue is probably going to require a major kludge to extract both sets of translations. (Already, the kana implementation is a bit of a kludge.)

walterbender avatar Jan 29 '20 13:01 walterbender

Might make sense to work on https://github.com/sugarlabs/musicblocks/issues/2066 first.

walterbender avatar Jan 29 '20 13:01 walterbender