Fix loading of I18n in plugins from Angular application

:warning: ~~**Please review and merge opf/openproject#2193 first.**~~

https://community.openproject.org/work_packages/5697
https://community.openproject.org/work_packages/14679