[tc-1823] locale api getLocale() feture case and webapi case