public static void RegisterJavaScriptLocalResources(Control control, string varName, string localeId, string resourceSet, ResourceProviderTypes resourceType, bool includeControls);
varName
Name of the variable generated
localeId
The Locale for which to load resources. Normalized from most specific to Invariant
resourceSet
Name of the resourceSet to load
resourceType
Resx or DbResourceProvider (database)
includeControls
Determines whether control ids are included