File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ private function addAutoTranslateNode(ArrayNodeDefinition $root)
182182 ->arrayNode ('fallback_translation ' )
183183 ->canBeEnabled ()
184184 ->children ()
185- ->enumNode ('service ' )->values (['google ' , 'bing ' ])->defaultValue ('google ' )->end ()
185+ ->enumNode ('service ' )->values (['google ' , 'yandex ' ])->defaultValue ('google ' )->end ()
186186 ->scalarNode ('api_key ' )->defaultNull ()->end ()
187187 ->end ()
188188 ->end ()
Original file line number Diff line number Diff line change @@ -19,3 +19,7 @@ services:
1919 php_translation.translator_service.google :
2020 class : Translation\Translator\Service\GoogleTranslator
2121 arguments : ["%php_translation.translator_service.api_key%"]
22+
23+ php_translation.translator_service.yandex :
24+ class : Translation\Translator\Service\YandexTranslator
25+ arguments : ["%php_translation.translator_service.api_key%"]
You can’t perform that action at this time.
0 commit comments