load static method

Implementation

static Future<QueryFieldStringsLocalizations> load(Locale locale) {
  final String name = locale.countryCode?.isEmpty ?? false
      ? locale.languageCode
      : locale.toString();
  final String localeName = Intl.canonicalizedLocale(name);
  return initializeMessages(localeName).then((_) {
    return QueryFieldStringsLocalizations(localeName);
  });
}