Page 1 of 1

i18N problem

PostPosted: Wed Aug 10, 2022 12:42 pm
by steve1376656734
I am having an issue being able to resolve i18N messages. The scenario is as follows:

User starts solution A which has it's i18nDataSource property correctly set. Solution A correctly outputs its i18N messages

Solution A starts a headless client for solution B (which also has it's i18nDataSource property correctly set). Solution B correctly outputs its i18N messages to the log file.

The headless client running solution B then adds a scheduled job using plugins.scheduler.addCronJob(........) for a method within solution B. When that job runs, it seems unable to access any i18N messages. It is as if the i18nDataSource has not been set.

Anyone experienced this or have any ideas?

Thanks
Steve