Important: Please read the Qt Code of Conduct -

[SOLVED] Identify preferred Japanese alphabet at runtime?

  • I'm supporting the three principal Japanese scripts; kanji, katakana and hiragana.

    I want to load the appropriate translation at runtime, by quizzing the system. The locale functions I can find stop at the point of identifying the country and language (e.g. ja-JP is what I think I'd get back from asknig the system what locale it thinks it is). I see a means to get the script, I think ( QLocale::script() ), but that just has one value for Japanese.

    Does anyone know how I should ask the system which of kanji, katakana and hiragana it prefers? Or am I wqay off with this and it's not something I should have to worry about?

  • Japanese use all three writing systems together at the same time, e.g. 私はイギリス人です。

    Unless your users are students of Japanese language or young children.

  • This I did not know (and now I do). Many thanks.

Log in to reply