Add translation environment to compile