Interface TranslationContext


public interface TranslationContext
The translation context.
Since:
5.2.33
  • Method Details

    • getBroker

      @NotNull @NotNull SpecialistsBroker getBroker()
      A request local specialists broker, providing access to client operations.
      Returns:
      Request local broker.
      Since:
      5.2.33
    • getSourceLanguage

      @NotNull @NotNull Language getSourceLanguage()
      The language of the content to translate.
      Returns:
      The source language.
      Since:
      5.2.33
    • getTargetLanguage

      @NotNull @NotNull Language getTargetLanguage()
      The target language the translation should be done for.
      Returns:
      The target language.
      Since:
      5.2.33
    • getGomElement

      @NotNull @NotNull GomFormElement getGomElement()
      The definition of the editor the content should be translated for.
      Returns:
      The related form element.
      Since:
      5.2.33