i18n icon indicating copy to clipboard operation
i18n copied to clipboard

AJAX POSTBACK's not processed when using Telerik RadCompression

Open dbonnell opened this issue 7 years ago • 0 comments

When the Telerik.Web.UI.RadCompression module is installed to compress AJAX POSTBACKs, nugget translation is not applied even if the i18n.LocalizingModule is installed before the RadCompression module.

What I found is that LocalizedApplication.InstallResponseFilter is not installing the ResponseFilter because the RadCompression module has set the Content-Encoding to gzip at some earlier stage in the pipeline. As ResponseFilter.Write detects a gzip compressed stream and passes through the data unmodified, that is a performance optimization only so I commented it out and nugget translation of AJAX POSTBACK's was then done before the RadCompression module compressed the results.

dbonnell avatar May 29 '17 03:05 dbonnell