For CMS pages and blocks, it is possible to delete a whole language branch using the language manager.
However, attempting to do this for catalog items in commerce will give the following error:
EPiServer.Labs.LanguageManager.Controllers.LanguageManagerStore: Error: Failed to delete language branch
System.NotImplementedException: The method or operation is not implemented.
at EPiServer.Core.ContentProvider.DeleteLanguageBranch(ContentReference contentLink, String languageBranch)
at EPiServer.Core.Internal.DefaultContentRepository.DeleteLanguageBranch(ContentReference contentLink, String languageBranch, AccessLevel access)
at EPiServer.Labs.LanguageManager.Business.LanguageBranchManager.DeleteLanguageBranch(ContentReference contentLink, String languageID)
at EPiServer.Labs.LanguageManager.Controllers.LanguageManagerStore.DeleteLanguageBranch(LanguageCRUDRequest request)
System.NotImplementedException: The method or operation is not implemented.
at EPiServer.Core.ContentProvider.DeleteLanguageBranch(ContentReference contentLink, String languageBranch)
at EPiServer.Core.Internal.DefaultContentRepository.DeleteLanguageBranch(ContentReference contentLink, String languageBranch, AccessLevel access)
at EPiServer.Labs.LanguageManager.Business.LanguageBranchManager.DeleteLanguageBranch(ContentReference contentLink, String languageID)
at EPiServer.Labs.LanguageManager.Controllers.LanguageManagerStore.DeleteLanguageBranch(LanguageCRUDRequest request)
[14:07:00 ERR] Failed to delete language branch
System.NotImplementedException: The method or operation is not implemented.
at EPiServer.Core.ContentProvider.DeleteLanguageBranch(ContentReference contentLink, String languageBranch)
at EPiServer.Core.Internal.DefaultContentRepository.DeleteLanguageBranch(ContentReference contentLink, String languageBranch, AccessLevel access)
at EPiServer.Labs.LanguageManager.Business.LanguageBranchManager.DeleteLanguageBranch(ContentReference contentLink, String languageID)
at EPiServer.Labs.LanguageManager.Controllers.LanguageManagerStore.DeleteLanguageBranch(LanguageCRUDRequest request)
Would be great if this could be implemented.
Linked to the following feature request:
#LM-427 DeleteLanguageBranch feature should be enabled.