def load_language(cr, lang):
 env = odoo.api.Environment(cr, SUPERUSER_ID, {})
 installer = env['base.language.install'].create({'lang': lang})
 installer.lang_install()

def load_language ( cr , lang ) : env = odoo . api . Environment ( cr , SUPERUSER_ID , { } ) installer = env [ 'base.language.install' ] . create ( { 'lang' : lang } ) installer . lang_install ( )
loads a translation terms for a language .