centralize translation `S` code in init.lua to reduce the number of dofile