Skip to content

Commit 6a196d6

Browse files
hjuarez20enzolutions
authored andcommitted
Add language to getData (#359)
1 parent bffc461 commit 6a196d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Application.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,9 @@ public function getData($filterNamespaces = null, $excludeNamespaces = [], $excl
787787
];
788788
}
789789

790+
//Add default Language
791+
$language = $this->container->get('console.translator_manager')->getLanguage();
792+
$data['default_language'] = $language;
790793

791794
// Exclude application if it is inside the $excludeNamespaces array.
792795
if (!in_array('application', $excludeNamespaces)) {

0 commit comments

Comments
 (0)