This is a migrated thread and some comments may be shown as answers.

pivotgrid not showing localized texts in production server

2 Answers 49 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
omar
Top achievements
Rank 1
omar asked on 30 Jun 2016, 01:34 PM

hello, i have a pivot grid in an asp.net web app. I have configured de localization using the resx files this way:

in app_globalresources i have the translated files 

RadPivotGrid.Main.es-ES.resx

RadPivotGrid.Main.es-MX.resx

and the original RadPivotGrid.Main.resx

in the pivot grid i have this configuration: 

     <telerik:RadPivotGrid ID="RadPivotGrid1" runat="server" OnNeedDataSource="RadPivotGrid1_NeedDataSource" OnPreRender="RadPivotGrid1_PreRender"
                    AllowSorting="true"  EnableConfigurationPanel="true" Height="545px" OnPivotGridCellExporting="RadPivotGrid1_PivotGridCellExporting" 
                     OnCellDataBound="RadPivotGrid1_CellDataBound"   OnFieldCreated="RadPivotGrid1_FieldCreated" Culture="es-ES"  >

in the code behind i also include this line :  RadPivotGrid1.Culture = System.Globalization.CultureInfo.CurrentCulture;

 

(the current culture in my PC is es-MX and it is the same in the server

after publish for deploy i have inside the bin folder 2 more folders named es-ES and es-MX inside that folder there are one dll named this way: Presentation.resources.dll  (presentatio is a application layer)

 

when i deploy the app to the server the texts in the pivot grid remain in english, i only can se the spanish text in compilation time.

 

what i need to do to make this to show the text in spanish?

 

 

2 Answers, 1 is accepted

Sort by
0
omar
Top achievements
Rank 1
answered on 01 Jul 2016, 02:29 PM
any help or ideas to solve this?
0
Maria Ilieva
Telerik team
answered on 05 Jul 2016, 02:57 PM
Hi Omar,

Based on the provided description it is difficult to determine what exactly is casing the issue on your end. I would suggest you to review the online resource below:

http://stackoverflow.com/questions/11135002/currentculture-incorrectly-defaulting-to-en-us-in-asp-net
http://stackoverflow.com/questions/15617282/asp-net-localization-working-in-iis-express-but-not-in-iis7-5-when-using-express
Regards,
Maria Ilieva
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
PivotGrid
Asked by
omar
Top achievements
Rank 1
Answers by
omar
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or