code: @Override
      public Locale fromString(String input) throws IllegalArgumentException {
          if (!Strings.isNullOrEmpty(input)) {
              return Locale.forLanguageTag(input.replace("_", "-"));
          }
          return InternationalizationService.DEFAULT_LOCALE;
      }
docs: Converts the given String to a {@link Locale} object using the {@link Locale#forLanguageTag(String)} method.
  
  @param input the input, can be {@literal null}
  @return the created locale, empty locale ({@code "" "" ""}) if the given input is {@code null} or empty.
  @throws IllegalArgumentException if the instance of T cannot be created from the input.