Remove extra declare of getLocaleString