ILocalizationServiceCopyLocalizationForCulture Method

Copies the localization for target culture.

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

Parameters

sourceLocalizationInfo
Type: Dundas.BILocalizationInfo
The source localization information.
targetCulture
Type: System.GlobalizationCultureInfo
The target culture.

Return Value

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

sourceLocalizationInfo is .

-or-

targetCulture is .

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