pub(crate) fn resolve_locales(&self, locale: LanguageIdentifier) -> Vec<LanguageIdentifier> {
        negotiate_languages(
            &[locale],
            &self.locales,
            Some(&self.default_locale),
            NegotiationStrategy::Filtering,
        )
        .into_iter()
        .map(|l| l.to_owned())
        .collect()
    }
/// Given a locale, returns the best set of available locales.
Given a locale, returns the best set of available locales.
Given a locale returns the best set of available locales .
pub(crate) fn resolve_locales(&self, locale: LanguageIdentifier) -> Vec<LanguageIdentifier> {
        negotiate_languages(
            &[locale],
            &self.locales,
            Some(&self.default_locale),
            NegotiationStrategy::Filtering,
        )
        .into_iter()
        .map(|l| l.to_owned())
        .collect()
    }
pub ( crate ) fn resolve_locales ( & self , locale : LanguageIdentifier ) -> Vec < LanguageIdentifier > { negotiate_languages ( & [ locale ] , & self . locales , Some ( & self . default_locale ) , NegotiationStrategy :: Filtering , ) . into_iter ( ) . map ( | l | l . to_owned ( ) ) . collect ( ) }
Given a locale, returns the best set of available locales.
Given a locale returns the best set of available locales .
&self
locale
LanguageIdentifier
&self
locale
LanguageIdentifier