check and set localStorage "lang" for language settings