I'd say one common file per language would be good, as I'm sure lots of apps will have common text, like Stop/etc.
While it'd be nice to have something per-app, realistically most apps (at least to date) get published and not updated - I don't think very many would get translated if we required per-app translations.
Just a thought here, but maybe we could have a way of defining strings in apps, like LANG("Hello") that the App Loader could parse and replace on upload rather than having to have JSON in the watch? Maybe that's too heavy though.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'd say one common file per language would be good, as I'm sure lots of apps will have common text, like
Stop
/etc.While it'd be nice to have something per-app, realistically most apps (at least to date) get published and not updated - I don't think very many would get translated if we required per-app translations.
Just a thought here, but maybe we could have a way of defining strings in apps, like
LANG("Hello")
that the App Loader could parse and replace on upload rather than having to have JSON in the watch? Maybe that's too heavy though.