Hi, 

I want to split  language files for the same textDomain over several modules
following a similar approach then module.config.php. I expected that also
the language files for the same textDomain get merged in the order the
modules are loaded. But so far as I discovered, only the first language file
present for the textDomain will get used, all others will be ignored. Is
that true. Is there any way how to accomplish my goal without having to use
textDomains or write my own Translator? 

The relevant code seems to be Translator.php => loadMessages() )=> // Try to
load from pattern: The foreach loop is skipped after the first iteration. To
accomplish my goal this code must be replaced with some merge logic which
merges the differen language file contents and creates a merged
Translator\TextDomain object. Am I right that there is no other way?

 

 

Reply via email to