Skip to main content
All docs
V25.1
  • AIReportingIntegration.LocalizeAsync(IAIExtensionsContainer, LocalizeRequest, CancellationToken) Method

    Translates the report’s localizable property values into the specified language.

    Namespace: DevExpress.AIIntegration

    Assembly: DevExpress.AIIntegration.Reporting.Common.v25.1.dll

    NuGet Package: DevExpress.AIIntegration.Reporting.Common

    Declaration

    [DXBrowsable(true)]
    public static Task<TextResponse> LocalizeAsync(
        this IAIExtensionsContainer container,
        LocalizeRequest request,
        CancellationToken cancellationToken = default(CancellationToken)
    )

    Parameters

    Name Type Description
    container IAIExtensionsContainer

    The AI extensions container.

    request LocalizeRequest

    The request to translate texts for localizable properties into the specified language.

    Optional Parameters

    Name Type Default Description
    cancellationToken CancellationToken null

    The token that cancels the task.

    Returns

    Type Description
    Task<TextResponse>

    The response that contains AI-generated translation.

    See Also