Index: trunk/extensions/Translate/utils/TranslationHelpers.php |
— | — | @@ -384,7 +384,8 @@ |
385 | 385 | return null; |
386 | 386 | } |
387 | 387 | |
388 | | - $options = self::makeGoogleQueryParams( $definition, "en|$code", $config ); |
| 388 | + $source = $this->group->getSourceLanguage(); |
| 389 | + $options = self::makeGoogleQueryParams( $definition, "$source|$code", $config ); |
389 | 390 | $json = Http::post( $config['url'], $options ); |
390 | 391 | $response = FormatJson::decode( $json ); |
391 | 392 | |