My general translated files uk_UA, ru_RU are located in /module/Application/language/…
But I don’t want put all translation pares into one file.
I’ve created additional files in directories with path looks like my url.
In method $translator->translate($message, $textDomain, $local), maybe I can use $textDomain, that set another location for my translation file?
Or You know other solutions?
Please look at the name of the config key: translation_file_patterns – the last letter “s” means plural.
You can add more than one sub-array. And if your application has multiple modules, you can add different translation file pattern(s) to each module configuration. The configuration will be merged at the end.