You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Translator component with "Loco" Provider (it could be the case for every providers) the domains configuration it not used by TranslationPushCommand or TranslationPullCommand commands.
The --help option on both commands show configured locales as default, but not domains is not used.
php bin/console translation:push --help
Description:
Push translations to a given provider.
Usage:
translation:push [options] [--] [<provider>]
Arguments:
provider The provider to push translations to. [default: "loco"]
Options:
--force Override existing translations with local ones (it will delete not synchronized messages).
--delete-missing Delete translations available on provider but not locally.
--domains[=DOMAINS] Specify the domains to push. (multiple values allowed)
--locales[=LOCALES] Specify the locales to push. [default: ["en","fr","es"]] (multiple values allowed)
...
The following command will push all domains to the provider instead of ['messages', 'emails'] : php bin/console translation:push
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Symfony version(s) affected
5.4.7
Description
When using Translator component with "Loco" Provider (it could be the case for every providers) the
domains
configuration it not used byTranslationPushCommand
orTranslationPullCommand
commands.How to reproduce
With the following configuration
The
--help
option on both commands show configured locales as default, but not domains is not used.The following command will push all domains to the provider instead of
['messages', 'emails']
:php bin/console translation:push
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: