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

Globalizing an application that uses Telerik Control

14 Answers 262 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Geitha
Top achievements
Rank 1
Geitha asked on 01 Dec 2011, 08:23 AM
Hi,

We are globalizing the application which uses Telerik Controls. We are not using RESX files. We are using CUSTOM DB RESOURCE MANAGER. Hence, RESX files will no more be used for storage. We willbe using the Database to store the resources.

But seems like Telerik i turn uses its RESX files. To make our application use the Database for resources instead of RESX files, we will be overriding a configuration in web.config.

On overriding this configuration, Telerik is also expecting its reosurces to be available in our Database.

Is there any solution to make Telerik use its RESX files even when we are using Database in our application for other resources?

Or, do we have to push Telerik's resources to our Database to make it work? If so, is there an exhaiustive set of resources that we can add to the Database so that in future, we do not need any maintanence activity on this regard.

It will be helpful if we get a solution or suggestion on this at the earliest. We need a solution or suggestion immediately since we are in Construction phase and are facing this issue.

Thanks.

14 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 06 Dec 2011, 12:15 PM
Hi Geitha,

In order to force RadControls to use resx files for their localization strings you need to set the LocalizationPath property to each localizable control to point to the folder where the files resides. When this property is set the specific control will disregard the ResourceProviderFactory set in the web.config and will use the resource files in the provided folder instead.

Greetings,
Dobromir
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Geitha
Top achievements
Rank 1
answered on 07 Dec 2011, 01:24 PM
Hi,

We are using RadGrid but this control does not seem to have "LocalizationPath" property. I got to read one thread where it has been mentioned that RadGrid does not have this property.

http://www.telerik.com/community/forums/aspnet-ajax/radcontrols-in-dotnetnuke/radgrid-localization-isnt-working.aspx

Do we have any hotfix for this so that we can download and proceed?

Is it possible to make this configuration at the application level for all Telerik controls?

Resources that are expected are for "RadGrid.Main". Do we need to translate these resources in various languages so that we can support various languages OR will this default list if resources in the RESX files that are provided with Telerik installation (in English) is enough? Can you provide us the exhaustive list of resources that is required by the controls?

Thanks,
Geitha
0
Geitha
Top achievements
Rank 1
answered on 07 Dec 2011, 01:24 PM
Hi,

We are using RadGrid but this control does not seem to have "LocalizationPath" property. I got to read one thread where it has been mentioned that RadGrid does not have this property.

http://www.telerik.com/community/forums/aspnet-ajax/radcontrols-in-dotnetnuke/radgrid-localization-isnt-working.aspx

Do we have any hotfix for this so that we can download and proceed?

Is it possible to make this configuration at the application level for all Telerik controls?

Resources that are expected are for "RadGrid.Main". Do we need to translate these resources in various languages so that we can support various languages OR will this default list if resources in the RESX files that are provided with Telerik installation (in English) is enough? Can you provide us the exhaustive list of resources that is required by the controls?

Thanks,
Geitha
0
Geitha
Top achievements
Rank 1
answered on 07 Dec 2011, 01:25 PM
Hi,

We are using RadGrid but this control does not seem to have "LocalizationPath" property. I got to read one thread where it has been mentioned that RadGrid does not have this property.

http://www.telerik.com/community/forums/aspnet-ajax/radcontrols-in-dotnetnuke/radgrid-localization-isnt-working.aspx

Do we have any hotfix for this so that we can download and proceed?

Is it possible to make this configuration at the application level for all Telerik controls?

Resources that are expected are for "RadGrid.Main". Do we need to translate these resources in various languages so that we can support various languages OR will this default list if resources in the RESX files that are provided with Telerik installation (in English) is enough? Can you provide us the exhaustive list of resources that is required by the controls?

Thanks,
Geitha
0
Geitha
Top achievements
Rank 1
answered on 07 Dec 2011, 01:26 PM
Hi,

We are using RadGrid but this control does not seem to have "LocalizationPath" property. I got to read one thread where it has been mentioned that RadGrid does not have this property.

http://www.telerik.com/community/forums/aspnet-ajax/radcontrols-in-dotnetnuke/radgrid-localization-isnt-working.aspx

Do we have any hotfix for this so that we can download and proceed?

Is it possible to make this configuration at the application level for all Telerik controls?

Resources that are expected are for "RadGrid.Main". Do we need to translate these resources in various languages so that we can support various languages OR will this default list if resources in the RESX files that are provided with Telerik installation (in English) is enough? Can you provide us the exhaustive list of resources that is required by the controls?

Thanks,
Geitha
0
Pavlina
Telerik team
answered on 12 Dec 2011, 11:48 AM
Hi Geitha,

Can you please verify that you are using version 2011.3.1115 in your application?  LocalizationPath property is already implemented for RadGrid control and you could use it to point to the folder where the resx files reside.

Kind regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Geitha
Top achievements
Rank 1
answered on 23 Dec 2011, 08:21 AM
Hi,

I need a clarification. We are using the dll for Telerik. Resources will be embedded. What can I specify in the "LocalizationPath" property?

Is there any way to specify the default path or to use the embedded resources and not to specify any particular location so that we will be forced to place the RESX files inside the specified folder?

Thanks,
Geitha
0
Pavlina
Telerik team
answered on 23 Dec 2011, 05:29 PM
Hi,

LocalizationPath property allows to load .resx files from any location in the web application. By default these files should be in the App_GlobalResources folder. However, if you cannot put the resource files in the default location or .resx files compilation is disabled for some reason (e.g. in a DotNetNuke environment), this property should be set to the location of the resource files.

Greetings,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Geitha
Top achievements
Rank 1
answered on 04 Jan 2012, 05:37 PM
Hi,

We tried this option but no luck. Will this option work if we have written our own Custom DB resource manager and do not use RESX files?

Thanks,
Geitha
0
Pavlina
Telerik team
answered on 09 Jan 2012, 01:48 PM
Hi,

I am not sure if I understand what exactly you want to achieve. Can you please elaborate a bit more in the details? Note that to localize the RadGrid you should have two resx files as a bare minimum - RadGrid.Main.resx and the localization file itself - for example RadGrid.Main.en-GB.resx.

All the best,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Geitha
Top achievements
Rank 1
answered on 19 Jan 2012, 10:31 AM
Issue we are facing is that:

We are using DB for storing the resource strings. RESX files will be ignored.

But Telerik needs its own RESX files which should be available as part of App_GlobalResources folder. RESX files with the localized strings in various languages also needs to be added to the same folder for enabling the Telerik controls to display localized content.

Since, we are using DB for resources and not RESX files, we cannot have the Telerik related resources too inside RESX files. Even if we have these as part of RESX files, these will be ignored. Now, we are forced to push these data into our DB, along with any localized strings.

Want to know if there is any provision to force Telerik to use its own RESX files and not to check our DB.

Also, we need the localized version of RadGrid.Main RESX files for the languages:
English (USA)
Chinese (China)
Japanese (Japan)
Korean (S.Korea)
French (France)
German (Germany)
Spanish (Spain)

Please share us the RESX files of Telerik controls for the above specified languages at the earliest, if you have. It would help us.

Thanks.
0
Pavlina
Telerik team
answered on 21 Jan 2012, 01:40 PM
Hello Geitha,

You can refer to this help article which describes how to localize RadGrid through resource files. Additional information on resource files, as well as explicit and implicit resource localization is available on this page and in this code library project.               

Localization files for RadGrid in various languages can be found here:
http://www.telerik.com/community/code-library/aspnet-ajax/localization/global-resources-for-radgrid.aspx

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Ashok
Top achievements
Rank 1
answered on 03 May 2012, 07:09 PM
Hello Geitha,

We had same issue like yours. Here is what we did to resolve the issue. With 2012 version of telerik control (which we use) for RadGrid there is property called LocalizationPath. We copied RadGrid.Main.resx which is inside App_GlobalResources of  Telerik install directory into our application App_GlobalResources direcotry. They setting the path of  LocalizationPath="App_GlobalResources/RadGrid.Main.resx"

By doing this we reduce our database calls for Telerik "RadGrid.Main". Let me know if this helps.
0
Simon
Top achievements
Rank 1
answered on 25 Sep 2012, 09:53 AM
Hello,

I also had some problems with DNN and RadGrid localization. Thats how it worked for me!

1. Your not allowed to put in a culture attribute, eg. Culture="de-DE" You have to configer it in the web.config. If you have a multi language website it takes the culture selected by the User.
So again if you have the culture attribute set, it wont work/translate!

2. You have to set the LocalizationPath to the Path, not the file, where the .resx is saved. You have to set the LocalizationPath even if the .resx file would be in the App_GLobalResource, so like this:
<telerik:RadGrid...  LocalizationPath="App_GlobalResources".. >
Be sure only put the folders Name, not the file name. You can also put the .resx file in any other foler eg. DesktopModules/[ModuleXY]/App_LocalResources

This is how it worked for me in DNN 6.1.5
Tags
General Discussions
Asked by
Geitha
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Geitha
Top achievements
Rank 1
Pavlina
Telerik team
Geitha
Top achievements
Rank 1
Ashok
Top achievements
Rank 1
Simon
Top achievements
Rank 1
Share this question
or