Back to Devexpress

AITranslationConfigurationBuilder.EnableInlineTranslation() Method

xtrareports-devexpress-dot-aspnetcore-dot-reporting-dot-aitranslationconfigurationbuilder-2796983f.md

latest2.7 KB
Original Source

AITranslationConfigurationBuilder.EnableInlineTranslation() Method

Enables the Translate Inline quick action.

Namespace : DevExpress.AspNetCore.Reporting

Assembly : DevExpress.AIIntegration.AspNetCore.Reporting.v25.2.dll

NuGet Package : DevExpress.AIIntegration.AspNetCore.Reporting

Declaration

csharp
public AITranslationConfigurationBuilder EnableInlineTranslation()
vb
Public Function EnableInlineTranslation As AITranslationConfigurationBuilder

Returns

TypeDescription
AITranslationConfigurationBuilder

An AITranslationConfigurationBuilder that can be used to further configure the AI-powered content translation functionality.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EnableInlineTranslation() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

reporting-asp-net-core-ai-summarize-and-translate/CS/JSDocumentViewer/Program.cs#L51

csharp
.AddTranslation(translateOptions =>
    translateOptions.SetLanguages(new List<LanguageInfo> {
        new LanguageInfo { Text = "German", Id = "de-DE" },

See Also

Summarize and Translate Reports in Web Document Viewer

AITranslationConfigurationBuilder Class

AITranslationConfigurationBuilder Members

DevExpress.AspNetCore.Reporting Namespace