Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Internationalization #56

Open
zacky1972 opened this issue Apr 5, 2020 · 3 comments
Open

Internationalization #56

zacky1972 opened this issue Apr 5, 2020 · 3 comments

Comments

@zacky1972
Copy link

I love this cool kiosk system!
I'd like to apply it to Japanese restaurants, but it requires internationalization.
So, I'd like to make a PR. Let me know how should I read the code in this repository at first, in order to realize internationalization.

@fhunleth
Copy link
Contributor

fhunleth commented Apr 5, 2020

It might be possible to add the following to the nerves_defconfig to add Japanese fonts:

BR2_PACKAGE_NOTO_CJK=y

Alternately, you could add the necessary fonts to a rootfs_overlay directory in your project. I don't remember testing the CJK font package, but it installs the fonts to /usr/share/fonts/noto-cjk. See:

https://github.com/LeToteTeam/kiosk_system_rpi3/blob/master/package/noto-cjk/noto-cjk.mk#L13-L14

After you get the appropriate fonts installed, I assume that there are some browser messages that get shown, but I don't remember how many. Those would be found or configured in the webengine_kiosk project.

@fhunleth
Copy link
Contributor

fhunleth commented Apr 5, 2020

Thinking about it more, I would add the fonts to a test project's rootfs_overlay first. This project takes too long to build.

@zacky1972
Copy link
Author

I watched Scenic presentation at ElixirConf EU Virtual.
I guess this issue is related to Scenic, deeply, isn't it?
If so, I guess to fix this issue at the level of Scenic is better than your solution, isn't it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants