docs: private void addToLocaleList(List localeList, List<Locale> locales) {
          if (locales != null) {
              for (Locale locale : locales) {
                  if (locale != null && !localeList.contains(locale)) localeList.add(locale);
              }
          }
      }