I tried the following
C#
Code: Select all
byte[] array = Encoding.UTF8.GetBytes(Resources.pt_BR); // this is the XML file string
var stream = new MemoryStream(array);
StiOptions.Localization.Load(stream);
reportViewer.Report = GetMyReport();
Code: Select all
<wpfViewer:StiWpfRibbonViewerControl x:Name="reportViewer"/>
It's not working though. Please can somebody help me?