services:
    _defaults:
        public: false

    Oro\Bundle\TranslationBundle\Command\OroTranslationDumpCommand:
        arguments:
            - '@oro_translation.js_dumper'
        tags:
            - { name: console.command }

    Oro\Bundle\TranslationBundle\Command\OroTranslationLoadCommand:
        arguments:
            - '@doctrine'
            - '@translator.default'
            - '@oro_translation.database_translation.persister'
            - '@oro_translation.provider.language'
        tags:
            - { name: console.command }

    Oro\Bundle\TranslationBundle\Command\OroTranslationRebuildCacheCommand:
        arguments:
            - '@oro_translation.rebuild_translation_cache_processor'
            - '@oro_translation.translation_message_sanitization_errors'
        tags:
            - { name: console.command }

    Oro\Bundle\TranslationBundle\Command\OroTranslationUpdateCommand:
        arguments:
            - '@Oro\Bundle\TranslationBundle\Download\TranslationDownloader'
            - '@doctrine'
            - '@oro_translation.helper.file_based_language'
        tags:
            - { name: console.command }

    Oro\Bundle\TranslationBundle\Command\DumpTranslationToFilesCommand:
        arguments:
            - '@translation.writer'
            - '@translation.reader'
            - !tagged_iterator oro_translation.catalogue_loader
            - '%translator.default_path%'
        tags:
            - { name: console.command }
