Skip to main content
All docs
V24.2

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

XtraLocalizer.WriteAllToXml(String) Method

Writes resource strings to a file in XML format.

Namespace: DevExpress.Utils.Localization

Assembly: DevExpress.Data.v24.2.dll

NuGet Package: DevExpress.Data

#Declaration

public static void WriteAllToXml(
    string fileName
)

#Parameters

Name Type Description
fileName String

The file name.

#Remarks

The WriteAllToXml method writes all resource strings requested (loaded) by DevExpress UI controls and their built-in forms to a file in XML format:

<?xml version="1.0" encoding="utf-8"?>
<root>
  <data name="BarString.None">
    <value>
    </value>
  </data>
  <data name="BarString.PopupMenuEditor">
    <value>Popup Menu Editor</value>
  </data>
  <data name="BarString.AddOrRemove">
    <value>&amp;Add or Remove Buttons</value>
  </data>
  <data name="BarString.Visible">
    <value>Visible</value>
  </data>
</root>
See Also