@Override
  public final boolean equals(final Object other) {
    if (this == other) return true;
    if (!(other instanceof AbstractTranslationStore)) return false;

    final AbstractTranslationStore<?> that = (AbstractTranslationStore<?>) other;

    return this.name.equals(that.name)
      && this.translations.equals(that.translations)
      && this.defaultLocale.equals(that.defaultLocale);
  }
Returns a translation for a given key and locale, if any.

@param key the key
@param locale the locale
@return the translation, or {@code null} if none exists for this key
@since 4.20.0
api/src/main/java/net/kyori/adventure/translation/AbstractTranslationStore.java