Localization and import/export breaking changes
Breaking changes to the localization system, import/export functionality, and enterprise transfer features in CMS 13.
This article covers localization and import or export breaking changes in CMS 13.
Localization provider for /lang folder
/lang folderCMS no longer automatically registers a localization provider for the /lang folder. You should move to embedded language files instead.
EPiServer.Framework.Localization.LocalizationService
LocalizationServicechecks the invariant culture when configured as theFallbackCulture. ConfigureFallbackBehaviorto skip checking fallback culture completely.- The abstract
LoadStringandGetAllStringsByCulturemethods now take aReadOnlyMemory<char>[]parameter instead ofstring[]. These methods are abstract. - The
NormalizeKeymethod returnsReadOnlyMemory<char>[]and has replaced theNormalizeKeyAsMemorymethod. - The
MissingMessageFormatfield was removed. Use theGetMissingMessagemethod to format a missing message string.
EPiServer.Framework.Localization.LocalizationProvider
- The abstract
GetStringandGetAllStringsmethods withstring[]parameter were replaced with their equivalent methods taking aReadOnlyMemory<char>[]parameter instead. These methods are abstract.
EPiServer.Framework.Localization.ProviderBasedLocalizationService
- No longer implements
IConfigurableModuleand no longer registers as anInitializableModule.
EPiServer.Framework.Localization.ResourceKeyNormalizedEventArgs
- The type of the
NormalizedKeyproperty and constructor argument was changed fromstring[]toReadOnlyMemory<char>[].
EPiServer.Framework.Localization.CultureInfoExtensions
- The class with extension methods to
CultureInfowas removed.
EPiServer.Framework.Localization.LocalizationService (additional removals)
- Two protected virtual
TryGetStringByCultureoverloads (withstring[]key parameters) were removed. Use the overloads withReadOnlyMemory<char>[]parameters instead.
EPiServer.Framework.Localization.ResourceKeyHandler (additional removals)
- Method
NormalizeKey(returningstring[]) was removed. UseNormalizeKeyIntoMemoryinstead.
EPiServer.Enterprise
Export changes
-
EPiServer.Enterprise.ExportEventArgs– PropertyExportContextwas removed because only one export type exists. Constructor acceptingTypeargument that was used forExportContextwas removed. -
EPiServer.Enterprise.ExportEventArgs.ContextOfExport– Enum removed because there is only one type of export after the remaining mirroring functionality was removed. -
EPiServer.Enterprise.ContentExportingEventArgs– Constructor acceptingTypeargument that was used forExportContextwas removed.
Import changes
EPiServer.Enterprise.IImportStatus– Three new properties were added:Content,Blueprints, andDisplayTemplates.DynamicPropertyDefinitionswas removed because it is no longer supported.
Transfer context
-
EPiServer.Enterprise.Transfer.ITransferContext- A new
DisplayTemplatesproperty was added. DeleteContent,DeleteContentLanguages,DeleteChildrenGuids, andMoveContentwere removed as mirroring is no longer supported.- Property
DynamicPropertyDefinitionswas removed. Dynamic Properties are no longer supported.
- A new
-
EPiServer.Enterprise.Transfer.TypeOfTransfer–MirroringImportingandMirroringExportingwere removed as mirroring is no longer supported.
Dynamic Data Transfer
EPiServer.Enterprise.DynamicDataTransferHandler– No longer implements theIConfigurableModuleinterface.
Dynamic Properties in export/import
EPiServer.Enterprise.IDataExplorer.AddDynamicProperty– Removed. Dynamic Properties are no longer supported.EPiServer.Enterprise.IExportStatus.DynamicPropertyDefinitionsCount– Removed. Dynamic Properties are no longer supported.
EPiServer.LinkAnalyzer
EPiServer.LinkAnalyzer.LinkAnalyzerInitialization– No longer implements theIConfigurableModuleinterface. Services are registered using theAddCmsLinkAnalyzer()service collection extension method.
Updated 9 days ago
