add language variables and reformat some files