feat(i18n): load the dictionary of a module wherever its messages are asked for
The domain of a module was registered only on its own routes. A module that
showed something of another — online naming a topic of the forum — registered
that domain by hand, and anything that forgot showed the untranslated message.
The translator now takes a locator, and the one of the site answers with the
locale directory of the switched-on module holding that alias. A domain nobody
registered is loaded the first time a message of it is asked for, kept for the
change of locale like any other, and a domain the locator does not know is not
asked about again. This is what lets a module show its messages through an
extension point on pages of another.
showed something of another — online naming a topic of the forum — registered
that domain by hand, and anything that forgot showed the untranslated message.
The translator now takes a locator, and the one of the site answers with the
locale directory of the switched-on module holding that alias. A domain nobody
registered is loaded the first time a message of it is asked for, kept for the
change of locale like any other, and a domain the locator does not know is not
asked about again. This is what lets a module show its messages through an
extension point on pages of another.