translate method

translate

Translates a presentation to the specified language using AI (synchronous version).

def translate(self, presentation, language):
    ...
ParameterTypeDescription
presentationIPresentationTarget presentation
languagestrTarget language

Exceptions

ExceptionDescription
RuntimeError(Proxy error(ArgumentNullException))Presentation instance is not provided
RuntimeError(Proxy error(ArgumentException))Language value can’t be None or empty

See Also