$ php bin/console translation:extract tr --enable-extractor=jms_i18n_routing --dir=./src/ --output-dir=./app/Resources/translations
Extracting Translations for locale tr
Keep old translations: No
Output-Path: ./app/Resources/translations
Directories: ./src
Excluded Directories: Tests
Excluded Names: *Test.php, *TestCase.php
Output-Format: # whatever is present, if nothing then xlf #
Custom Extractors: jms_i18n_routing
============================================================
Loading catalogues from "./app/Resources/translations"
In LoaderManager.php line 85:
The format "yml" does not exist.
this problem is not related to symfony version. there is problem-related to translation file as I understand it. the problem is over when I deleted app/Resources/translations folder.