The problem is not with domain but with recursively directories.
For example I have this string to translate:
File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.
my_boo
boo
foo
What is this ?? from vendor o node_modules.
If I change this line work very nice.
$data[$name] = $this->register_stings_from_dir($theme->theme_root . DIRECTORY_SEPARATOR . $name . '/templates', $name);
// add teampltes