Translating $eventName (localization) #1021
Answered
by
seche
AskinSavascisi
asked this question in
Q&A
|
Hi, is it possible to translate the $eventName variable to active localization version? public function getActivitylogOptions() |
Answered by
seche
Jan 26, 2024
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: |
1 reply
Answer selected by
AskinSavascisi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just use __($eventName) and include the translation key in your translation files.
By default, the package provides the following keys:
created,updated,deleted.