add set language func