Localizing Telerik components
We’re using Telerik components in some of our software at RemoteX. Telerik components are localized using resx-files, but we don’t use resx-files so we need the localization to work with our system.
So this is how to do it:
First we create a ResourceManager that will handle our localization
class LocalizedResourceManager : ResourceManager { public override string GetString(string name) { return String.Concat("Client.Telerik.", name).Localize(); } }
And then, in an appropriate location we set the default Resource Manager for localization:
LocalizationManager.DefaultResourceManager = new LocalizedResourceManager();
There you have it, short post, but someone pointed out to me that people would like to know these things before they purchase component libraries.