Code: Select all
/c
script.on_event(defines.events.on_string_translated, function(e) game.print(serpent.line(e.localised_string)) end)
game.player.request_translation( {'',{''},{''},{''},{''}} )
Code: Select all
{"", "", "", "", ""}
Code: Select all
/c
script.on_event(defines.events.on_string_translated, function(e) game.print(serpent.line(e.localised_string)) end)
game.player.request_translation( {'',{''},{''},{''},{''}} )
Code: Select all
{"", "", "", "", ""}
Regrettably this only works if I create the localised strings myself. If other people throw these at my remote interface and you won't fix it then I have to re-implement that behavior in lua.