add getAllowedLocales to intl provider