I use Ansible. There is a module for setting uci variables I use called lefant.openwrt-uci.
I’m guessing the language is the first one here:
root@GL-AR300M:/var/log# uci show | grep -i lang
glconfig.general.language=‘EN’
luci.main.lang=‘en’
luci.languages=internal