public static class I18nTranslator.DefaultImpls
Translates CharSequence depending of current userLocale, userInterfaceType and targetConnectorType.
userLocale,
userInterfaceType,
targetConnectorType@NotNull public static ai.tock.translator.TranslatedSequence translate(I18nTranslator $this, @Nullable java.lang.CharSequence text, @NotNull java.lang.Object... args)
Translates and format if needed the text with the optionals args.
@NotNull public static ai.tock.translator.TranslatedSequence translate(I18nTranslator $this, @Nullable ai.tock.translator.I18nLabelValue key)
Translates the specified key.
@Nullable public static ai.tock.translator.TranslatedSequence translateAndReturnBlankAsNull(I18nTranslator $this, @Nullable java.lang.CharSequence s)
Translates the specified text and return null if the answer is blank.
@NotNull public static ai.tock.translator.I18nLabelValue i18n(I18nTranslator $this, @NotNull java.lang.CharSequence defaultLabel, @NotNull java.lang.Object... args)