-
-
Notifications
You must be signed in to change notification settings - Fork 398
feat(color): add Korean font and localization support #6118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…/ NanumBarunpen) - Update make_fonts.sh for Korean character set - Add get_char_ko.py for extracting used symbols - Include NanumBarunpenR/B.ttf and LICENSE - Add ko.h translation header ※ Known issue: Some UI elements not shown properly in Korean mode
Hi maintainers 👋 This PR adds Korean font and localization support for EdgeTX (TX16S). Could you please approve the workflows so that the CI jobs can run? Thank you! |
Done |
No, you are looking at the companion source, not radio, so that won't help you. This is where you want to be starting to look... edgetx/radio/src/gui/colorlcd/radio/radio_setup.cpp Lines 888 to 905 in f22baf6
Did you build the firmware with -DDEBUG=Y and then configure AUX1 to be Debug? Since this is a virtual serial port, I don't think the baud rate actually matters, but it is nominally 400k baud.
For this, you should be able to use the
No, not yet. There is simply not enough space to store multiple language packs in a single firmware file, as well as any additional RAM usage that might incur. In the future we plan to investigate being able to load them from file into memory, thus allowing language packs to be seperate assets stored on the SD card. Until (and even now) a compile-time option has is been sufficient, especially since it is not envisaged that you would need to swap languages (periodically, or ever, really). |
The problem with the default order strings is that the code assumes that the translated names always start with a single byte (Latin) character. |
Can you also ensure your additions to
are in alphabetical order... the other lists don't matter, but those ones are currently properly in order. |
Ah, I see now — I was definitely looking in the wrong place! 😅 I'll definitely try building with the debug options you mentioned and explore the simulator approach as well. If I may ask one more follow-up question: So up until now, if someone wanted to use a different UI language, Thanks again for your continued support! |
"Haha, thank you — that was incredibly helpful advice!" |
"I’ll make sure to reflect your suggestions accordingly." |
Yes. Or download a pre-built firmware in their language (i.e. from here for 2.5 - 2.10 => https://github.com/pfeerick/lang-firmwares), via the CloudBuild tab in https://buddy.edgetx.org/, or by setting the correct radio language in Companion and downloading/updating firmware via Companion (it uses the CloudBuild server as the firmware source then also). |
"Ah, I see. |
안녕하세요. Hello, |
This generally looks fine. Still need to check one or two details when I am back at my other machine, but if this is working properly on the TX16S for you, it should be right to be included in 2.11 onwards. |
Thanks so much for the feedback! 🙏 |
Not moving `en` in `opentxinterface.h` since it would probably affect combo list order.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! :)
Co-authored-by: Peter Feerick <pfeerick@users.noreply.github.com>
tts_ko.cpp
and corresponding localization entries