Language Created

Class: Sirthxalot\Laravel\I18n\Events\Language\LanguageCreated

This event will be dispatched when a new language was created.

AttributeTypeDescription
localestringThe locale e.g. "en_US".

Language Deleted

Class: Sirthxalot\Laravel\I18n\Events\Language\LanguageDeleted

This event will be dispatched when a new language was deleted.

AttributeTypeDescription
localestringThe locale e.g. "en_US".

Translation Created

Class: Sirthxalot\Laravel\I18n\Events\Translation\TranslationCreated

This event will be dispatched when a new translation was created.

AttributeTypeDescription
keystringThe translation key e.g. i18n::animals.dog.
localestringThe locale e.g. "en_US".
messagestringThe translation message e.g. "Dogs don't like cats.".

Translation Updated

Class: Sirthxalot\Laravel\I18n\Events\Translation\TranslationUpdated

This event will be dispatched when a translation was updated.

AttributeTypeDescription
keystringThe translation key e.g. i18n::animals.dog.
localestringThe locale e.g. "en_US".
message_beforestringThe translation message e.g. "Dogs don't like cats.".
message_afterstringThe new translation message e.g. "Dogs fight for their yard.".

Translation Deleted

Class: Sirthxalot\Laravel\I18n\Events\Translation\TranslationDeleted

This event will be dispatched when a translation was deleted.

AttributeTypeDescription
keystringThe translation key e.g. i18n::animals.dog.
localestringThe locale e.g. "en_US".
Last Updated:
Contributors: sirthxalot