We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd023ac commit a0f29bdCopy full SHA for a0f29bd
databox/api/src/Integration/Aws/Translate/TranslateAction.php
@@ -46,7 +46,7 @@ public function doHandle(RunContext $context): void
46
$srcLocales = $preferredSourceLanguages;
47
$srcLocales = array_merge($srcLocales, $lc, [AttributeInterface::NO_LOCALE]);
48
} else {
49
- $srcLocales = array_merge([AttributeInterface::NO_LOCALE], $allEnabledLocales);
+ $srcLocales = array_merge($allEnabledLocales, [AttributeInterface::NO_LOCALE]);
50
}
51
52
if (empty($translatedLanguages)) {
0 commit comments