Hello everyone, I'm Citty and am in into this nonsense way over my head. Partially to screw with @remote fossil but properly, but mostly to try to extend the reach and comfort of having people interact with a educational device like the Flipper Zero, I think that a localization service is long overdue.
So far, I have a few ideas about how this could be done, none of them feel like perfect solutions to me as of yet.
Currently (potentially overly idealized) goals:
-
en_US is the current default language of the flipper, and I'd like this to be as performant as possible. I think that this could be reduced to a constant lookup by using a bit of macro magic
-
I'd like it to be as easy as possible for languages to be added, both inside and outside of the firmware tree. Most translators aren't programmers, and some languages might not end up in OFW ever.
-
I'd like to avoid filling up all of flash or RAM with localized strings.
-
Localization should be available to app and animation authors as much as to developers in the firmware tree.