Translating $eventName (localization) #1021
-
Hi, is it possible to translate the $eventName variable to active localization version? public function getActivitylogOptions() |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Just use __($eventName) and include the translation key in your translation files.
By default, the package provides the following keys: |
Beta Was this translation helpful? Give feedback.
Just use __($eventName) and include the translation key in your translation files.
By default, the package provides the following keys:
created
,updated
,deleted
.