summaryrefslogtreecommitdiff
path: root/framework/I18N/core
diff options
context:
space:
mode:
Diffstat (limited to 'framework/I18N/core')
-rw-r--r--framework/I18N/core/MessageSource_XLIFF.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/framework/I18N/core/MessageSource_XLIFF.php b/framework/I18N/core/MessageSource_XLIFF.php
index eafc0983..64277e7b 100644
--- a/framework/I18N/core/MessageSource_XLIFF.php
+++ b/framework/I18N/core/MessageSource_XLIFF.php
@@ -150,7 +150,13 @@ class MessageSource_XLIFF extends MessageSource
$byDir = $this->getCatalogueByDir($catalogue);
$catalogues = array_merge($byDir,array_reverse($catalogues));
- return $catalogues;
+ $files = array();
+ foreach($catalogues as $file)
+ {
+ $files[] = $file;
+ $files[] = preg_replace('/\.xml$/', '.xlf', $file);
+ }
+ return $files;
}
/**