Yup, I’d put my translations into either a json file or directly into a Lua table in a module and then use another Lua module to do lookups of string values based on device language (read from sys.get_sys_info().device_language). I created a small example to show what I mean:
publicexamples/examples/localization at master · britzl/publicexamples · GitHub (SOURCE)
Localization 0.0 (DEMO)