Fix getLocalesSummary method