Open jingxingoriginal opened 2 years ago
I just discovered there's a Transliterator
class, I'll see what I can do
First things first: I won't add a translation feature.
Regarding the transliteration, there are a couple of challenges.
Latin
, Katakana
, Cyrillic
etc) so the any user from any country can read that - it shouldn't be hardAdditional resources:
val transliteratedLyrics = remember(lyrics) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
Transliterator.getInstance("Any-Latin").transliterate(lyrics)
} else {
lyrics
}
}
If this is going to be implemented, I'd rather have a "preferred script/alphabet" option in settings, with the option to keep the lyrics as they are no matter the language.
Feature description
The lyrics feature is just awesome. I am amazed by the synchronicity but, It would be better to add translation and transliteration
Why do you want this feature?
A lot of Chinese lyrics are in Chinese letter. I can't read.
Additional information
No response