Open this page in the API Guide

ILocalizationService.CopyLocalizationForCulture Method

Copies the localization for target culture.

Namespace:  Dundas.BI
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
LocalizationInfo CopyLocalizationForCulture(
	LocalizationInfo sourceLocalizationInfo,
	CultureInfo targetCulture
)

Parameters

sourceLocalizationInfo
Type: Dundas.BI.LocalizationInfo
The source localization information.
targetCulture
Type: System.Globalization.CultureInfo
The target culture.

Return Value

Type: LocalizationInfo
The localization info of the copied localization.
Exceptions
ExceptionCondition
ArgumentNullException

sourceLocalizationInfo is null.

-or-

targetCulture is null.

ArgumentExceptionLocalization can only be copied to a different culture, or to the same culture in order to create an override.
NoPrivilegeExceptionThe caller does not have administrative privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
InvalidOperationExceptionThere is already a localization resource with a different name for this culture and module.
Remarks
In order to create a localization override, copy a non-override localization to the same culture. The resulted override will not contain any of the source localization strings, the override strings will have to be added manually.
See Also