You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can reproduce this likely by calling eg Plugin\Manager::loadAllPluginsAndGetTheirInfo().
I presume that initially we maybe only load translations for activated or installed plugins or something. Then when calling this method we might load more plugins compared to initially causing $translation->addDirectory() to be called which in return invalidates translations and causes a re-fetch of all translations.
The workaround be to maybe always load all translations of even disabled plugins maybe? (it should be maybe already implemented as we once said this is behaviour we want to have AFAIK).
The text was updated successfully, but these errors were encountered:
Not sure if always loading all translations is that good. For example a plugin could overwrite another plugins translations for any reason. That might not make sense if the plugin is not active
tsteur
added
wontfix
If you can reproduce this issue, please reopen the issue or create a new one describing it.
and removed
c: Performance
For when we could improve the performance / speed of Matomo.
labels
May 17, 2018
You can reproduce this likely by calling eg
Plugin\Manager::loadAllPluginsAndGetTheirInfo()
.I presume that initially we maybe only load translations for activated or installed plugins or something. Then when calling this method we might load more plugins compared to initially causing
$translation->addDirectory()
to be called which in return invalidates translations and causes a re-fetch of all translations.The workaround be to maybe always load all translations of even disabled plugins maybe? (it should be maybe already implemented as we once said this is behaviour we want to have AFAIK).
The text was updated successfully, but these errors were encountered: