I work with a system that has a custom resource provider that uses a database to store values.
Would it be possible to leverage that provider with the reporting localization or can you only use .resx files?
Thanks in advance!
Would it be possible to leverage that provider with the reporting localization or can you only use .resx files?
Thanks in advance!
4 Answers, 1 is accepted
0
Hi Christian,
Peter
the Telerik team
The only way for Localizing Telerik Reports is through a resx file. Telerik Reporting uses a similar methodology for localization as Visual Studio uses for Windows Forms. The designer lets you define static text for the report (e.g. column headings, titles) in each language that you specify. A resource file (resx) is automatically created for each language to store translated text.
Greetings,Peter
the Telerik team
0

Hugo
Top achievements
Rank 1
answered on 14 Jun 2011, 01:15 PM
I have the same problem as Christian. I want to use a custom resource provider based on a database. The large application, of which reports built with Telerik Reporting will be a small part, uses a system like that. Using two localization mechanisms (database and resx file) is a maintenance nightmare.
In Visual Studio while programming for Windows Forms, you can use a custom resource provider (and its accompagnying custom designer resource provider). So you can use a database instead of a resx file, and for the programmer they behave exactly the same.
But there seems no way to set this for Telerik Reports :-(
You may put this on the wish list.
Thanks
Hugo Burm
Yall
0

Mark Comins
Top achievements
Rank 1
answered on 19 Nov 2014, 08:28 PM
Any new developments related to this? We're in the same boat and have a large ASP.NET application that allows users to customize their own language settings via a custom provider. However they are not able to customize their report captions :(
In most cases the report captions are a duplicate of screen captions and if we could leverage our existing database of captions it would be a huge benefit.
In most cases the report captions are a duplicate of screen captions and if we could leverage our existing database of captions it would be a huge benefit.
0
Hello Dan,
You can use the suggested by my colleague localization approach with RESX files - Localizing Reports. If you want to use a custom resource provider, you can test using user functions, which return the localized strings in the report.
Also note the report is data-driven, thus you can incorporate the localized strings with the actual data of the report and produce a localized data, that will be displayed in the report.
I hope the above information helps you.
Regards,
Stef
Telerik
You can use the suggested by my colleague localization approach with RESX files - Localizing Reports. If you want to use a custom resource provider, you can test using user functions, which return the localized strings in the report.
Also note the report is data-driven, thus you can incorporate the localized strings with the actual data of the report and produce a localized data, that will be displayed in the report.
I hope the above information helps you.
Regards,
Stef
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.