Use Japanese text in "clickable desktop"
-
Hello. I just tried to create a sample app that contains Japanese text. I am able to have the text display properly on my Ubuntu Mobile device, but on the
clickable desktop
preview the Japanese text shows up garbled.Is there a way to install Japanese fonts (or whatever is needed) on the
clickable desktop
?If it is of any help, for I use
clickable 7.1.0
. I tried with both HTML5 and Python/QML. -
-
@lduboeuf Thanks for the answer. Yes, I do use
i18n.tr(...)
. Trying it without this, results to the same thing. But as mentioned, the display is fine on my actual device. I guess, theclickable desktop
environment lacks some fonts or so. -
@tkgon yes probably, you can add the dependencies in your clickable file i guess with "dependencies_target"
-
@lduboeuf I was able to solve it via
clickable.yaml
config file. For reference my config file:clickable_minimum_required: "7" builder: pure-qml-cmake kill: qmlscene dependencies_target: - language-pack-ja - japan*
Documentation for config file
Maybe the dependencies can be optimized, but for now it does the job.
Again thanks @lduboeuf