LPS-45885 Language keys are not loaded in case of several portlets, hooks

Hi Hugo,

I'm forwarding @lipusz 's pull to you because you have been reviewing LPS-45860 on https://github.com/hhuijser/liferay-plugins/pull/180.

Please review the changes.

Thanks,
Ákos