- Issue created by @spadxiii
- @spadxiii opened merge request.
- 🇫🇷France flocondetoile Lyon
But what about if using cron for generating log. The current language won't be accurate then. Looks like you need to add the current language used when generating the log in the preGenerateLog() method which massage/pass settings to the logGenerate() method no ?
- Status changed to Needs work
over 1 year ago 11:24pm 29 April 2023 - 🇫🇷France flocondetoile Lyon
The preGenerateLog() is called from the EntityActivitySubscriber, always in the current context, so you can catch the current language here. This method is used to prepare settings for the generateLog() method which can be called diretly or by a Queue worker.