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

App_GlobalResources and precompiled ASP.NET web applications

1 Answer 583 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Stefan Plattner
Top achievements
Rank 1
Stefan Plattner asked on 01 Jun 2010, 10:44 AM
I deployed a web application which uses the RadEditor (Telerik.Web.UI 2009.3.1314.35).

When I deploy using a Web Deployment project (precompiled in one big DLL), the localization doesn't work - there is always the English shown the the end users. When I do a "normal" deploy (with aspx, ascx etc.), it works in all available languages.

The bin folder contains the app_globalresources.compiled file and it seems that the .resx are compiled into satellite assemblies in the localized folders (de-DE, it-IT etc.) with the name of the precompiled big all-in-one assembly I chose in the deployment project.

Is there a way to make this work for deployment projects?

Thanks,
Stefan

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 03 Jun 2010, 09:59 AM
Hi Stefan,

Indeed, all resx files are precompiled to App_GlobalResources.resources.dll assemblies. The files in the localizations folders (de-DE, it-IT) are compiled to App_GlobalResources.resources.dll and placed inside folders with the same name in the bin folder, respectively. It seems that these files are not deployed to the server and you should do this manually. This process is not controlled by RadEditor.

Another approach is to manually upload the resx files to the production server and set the LocalizationPath property to point to the folder where the resx files reside.

Sincerely yours,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
Stefan Plattner
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or