@Override
    public final void registerAll(final @NotNull Locale locale, final @NotNull ResourceBundle bundle, final boolean escapeSingleQuotes) {
      this.registerAll(locale, bundle.keySet(), key -> {
        final String format = bundle.getString(key);
        return this.parse(
          escapeSingleQuotes
            ? SINGLE_QUOTE_PATTERN.matcher(format).replaceAll("''")
            : format,
          locale
        );
      });
    }
Parses a string into the format required for this translation store.

@param string the string
@param locale the locale for the string, if needed
@return the parsed type
@since 4.20.0
api/src/main/java/net/kyori/adventure/translation/AbstractTranslationStore.java