We have moved!

You are currently looking at documentation for Umbraco 8 and older versions.
Go to docs.umbraco.com/umbraco-cms/reference/notifications/localizationservice-notifications for documentation for Umbraco 9 and newer versions.

    LocalizationService Events

    The LocalizationService class implements ILocalizationService. It provides access to operations involving Language and DictionaryItem.

    Event Signature Description
    SavingLanguage (ILocalizationService sender, SaveEventArgs<ILanguage> e) Raised when LocalizationService.Save (ILanguage overload) is called in the API.
    "sender" will be the current ILocalizationService object.
    "e" will provide:
    1. SavedEntities: Gets the collection of ILanguage objects being saved.
    SavedLanguage (ILocalizationService sender, SaveEventArgs<ILanguage> e) Raised when LocalizationService.Save (ILanguage overload) is called in the API and after data has been persisted.
    "sender" will be the current ILocalizationService object.
    "e" will provide:
    1. SavedEntities: Gets the saved collection of ILanguage objects.
    SavingDictionaryItem (ILocalizationService sender, SaveEventArgs<IDictionaryItem> e) Raised when LocalizationService.Save (IDictionaryItem overload) is called in the API.
    "sender" will be the current ILocalizationService object.
    "e" will provide:
    1. SavedEntities: Gets the collection of IDictionaryItem objects being saved.
    SavedDictionaryItem (ILocalizationService sender, SaveEventArgs<IDictionaryItem> e) Raised when LocalizationService.Save (IDictionaryItem overload) is called in the API and after data has been persisted.
    "sender" will be the current ILocalizationService object.
    "e" will provide:
    1. SavedEntities: Gets the saved collection of IDictionary objects.
    DeletingLanguage (ILocalizationService sender, DeleteEventArgs<ILanguage> e) Raised when LocalizationService.Delete (ILanguage overload) is called in the API.
    "sender" will be the current ILocalizationService object.
    "e" will provide:
    1. DeletedEntities: Gets the collection of ILanguage objects being deleted.
    DeletedLanguage (ILocalizationService sender, DeleteEventArgs<ILanguage> e) Raised when LocalizationService.Delete (ILanguage overload) is called in the API.
    "sender" will be the current ILocalizationService object.
    "e" will provide:
    1. DeletedEntities: Gets the collection of deleted ILanguage objects.
    DeletingDictionaryItem (ILocalizationService sender, DeleteEventArgs<IDictionaryItem> e) Raised when LocalizationService.Delete (IDictionaryItem overload) is called in the API.
    "sender" will be the current ILocalizationService object.
    "e" will provide:
    1. DeletedEntities: Gets the collection of IDictionaryItem objects being deleted.
    DeletedDictionaryItem (ILocalizationService sender, DeleteEventArgs<IDictionaryItem> e) Raised when LocalizationService.Delete (IDictionaryItem overload) is called in the API.
    "sender" will be the current ILocalizationService object.
    "e" will provide:
    1. DeletedEntities: Gets the collection of deleted IDictionaryItem objects.