Class AutoTranslateService.TranslationParameters

    • Field Detail

      • recursive

        public boolean recursive
        Translate subpages as well.
      • maxDepth

        public Integer maxDepth
        Maximum depth of the recursion.
      • translateWhenChanged

        public boolean translateWhenChanged
        Also re-translate properties where the original was changed.
      • additionalInstructions

        public String additionalInstructions
        Optionally, additional instructions to add to the system prompt.
      • breakInheritance

        public boolean breakInheritance
        If true, we break the inheritance of the component / the property on translation.
      • autoSave

        public boolean autoSave
        If true the changes are saved (ResourceResolver.commit()) after each page.
      • rules

        public List<AutoTranslateRuleConfig> rules
        Optionally, a number of rules that give additional instructions for translation if certain words or phrases are present in the page.
    • Constructor Detail

      • TranslationParameters

        public TranslationParameters()