solosky / pixl.js

An emulator for Amiibo!
GNU General Public License v2.0
607 stars 112 forks source link

Language change #84

Closed Pocketmodster closed 1 year ago

Pocketmodster commented 1 year ago

Hello, how do I change the language on the device to English? Thank you

Bosco1262 commented 1 year ago

I think you need to use another version

solosky commented 1 year ago

Sorry, Pixl.js doesn't have any other language translation for both firmware and web, it only supports Simplified Chinese.

I will leave the issue open and may schedule English language support in future, but I am not promise it.

Also, pull request is welcome if you are capable of translation for English, includes firmware, web and documentations.

Pocketmodster commented 1 year ago

okay thank you! I look forward to a possible firmware in the future for it.

headhunter45 commented 1 year ago

It doesn't look like the code is setup for l10n yet. Do you have a plan or preference for how to set that up? I just started digging in, but I think I could setup something with a compile time define. I haven't looked too deep into how the settings work, but I can think of a few approaches for runtime language switching. I'm not sure on the web stuff though, maybe something similar, but I've been out of web dev for a few years now.

Here's an example of what I'm thinking. https://github.com/solosky/pixl.js/pull/89

solosky commented 1 year ago

Since version 2.7.0 is offically support English language now, close this issue as completed. See #92 .