default @Nullable Component translate(final @NotNull TranslatableComponent component, final @NotNull Locale locale) {
    return null;
  }
Gets a translated component from a translatable component and locale.

<p>Care should be taken to ensure you do not unintentionally remove the children or style of {@code component}.
This can be avoided by copying over the children/style using the following code as an example:</p>

<pre>{@code
final Component myNewComponent = ...; // get your component here
return myNewComponent
  .append(component.children()) // ensure it has the original components children as well
  .applyFallbackStyle(component.style()); // apply a "fallback" style
}</pre>

@param locale a locale
@param component a translatable component
@return a translated component or {@code null} to use {@link #translate(String, Locale)} instead (if available)
@since 4.13.0
api/src/main/java/net/kyori/adventure/translation/Translator.java