Skip to main content

Localizing Your DevExpress-powered .NET App – Your Feedback Matters

We hope to validate a few hypotheses about our Localization Service, Unified Component Installer, overall localization quality, and ways to translate strings in general.

Take the survey Not interested

PreviewLocalizer.GetString(PreviewStringId) Method

Returns a localized string for the given string identifier.

Namespace: DevExpress.XtraPrinting.Localization

Assembly: DevExpress.Data.v24.2.dll

NuGet Package: DevExpress.Data

#Declaration

public static string GetString(
    PreviewStringId id
)

#Parameters

Name Type Description
id PreviewStringId

A PreviewStringId enumeration value, identifying the string to localize.

#Returns

Type Description
String

A String value, corresponding to the specified identifier.

#Remarks

The XtraPrinting Library supports localization, so that you can substitute the default strings displayed within context menus with your own equivalents (e.g., in your native language). Items that can be localized are listed in the PreviewStringId enumeration.

To localize the default resources of the XtraPrinting Library, override the GetString method in a PreviewLocalizer class descendant.

For more information, refer to Localization.

See Also