auto register langauge