@Override
  @Deprecated
  default void registerAll(final @NotNull Locale locale, final @NotNull Map<String, MessageFormat> formats) {
    this.registerAll(locale, formats.keySet(), formats::get);
  }
Registers a map of translations.

<pre>
  final TranslationRegistry registry;
  final Map&#60;String, MessageFormat&#62; translations;

  translations.put("example.greeting", new MessageFormat("Greetings {0}. Doing ok?));
  translations.put("example.goodbye", new MessageFormat("Goodbye {0}. Have a nice day!));

  registry.registerAll(Locale.US, translations);
</pre>

@param locale a locale
@param formats a map of translation keys to formats
@throws IllegalArgumentException if a translation key already exists
@see #register(String, Locale, MessageFormat)
@since 4.0.0
@deprecated For removal since 4.20.0. Use {@link TranslationStore#messageFormat(Key)} instead.
api/src/main/java/net/kyori/adventure/translation/TranslationRegistry.java