[OJS 2.4.8] Adding a parameter to every Url of every (front-facing) page that contains the current locale

Hi Everybody,

I’m using OJS 2.4.8 and I was wondering if it is possible to add a parameter to every (front-facing) page/view that contains the currently chosen locale. It could look something like this: {currentUrl}?lang=[en_US|de_DE|it_IT]

I would like to provide this functionality as a plugin and having a look at the list of hooks the only interception point to insert such a parameter seems to be the LoadHandler hook.

Am I right with this idea or completely on the wrong track? Any help pointing me in the right direction is highly appreciated.

With best regards, Matthias