> > if I understand correctly (again) you need this function only if translationRequired is true

> No. If the current document is already in the target locale (e.g. when the default locale is used), we don’t need to translate anything but we still have to load the l10n dictionary for all the content that is generated dynamically.

What I mean is that the `onResourceLoaded` function itself is useful only if `translationRequired` is true. I perfectly agree that we need to load the locale :)