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
feature #58506 [FrameworkBundle] Add --no-fill option to translation:extract command (jawira)
This PR was squashed before being merged into the 7.2 branch.
Discussion
----------
[FrameworkBundle] Add `--no-fill` option to `translation:extract` command
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues | Fix #58451
| License | MIT
This PR adds the `--no-fill` option to `translation:extract` command.
With this option, only translation keys are generated in the output file, while the translation values are left blank.
Example:
```console
bin/console translation:extract --force --no-fill fr
```
When `--no-fill` is used the `--prefix` option has no effect.
<!--
Replace this notice by a description of your feature/bugfix.
This will help reviewers and should be a good start for the documentation.
Additionally (see https://symfony.com/releases):
- Always add tests and ensure they pass.
- Bug fixes must be submitted against the lowest maintained branch where they apply
(lowest branches are regularly merged to upper ones so they get the fixes too).
- Features and deprecations must be submitted against the latest branch.
- For new features, provide some code snippets to help understand usage.
- Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
- Never break backward compatibility (see https://symfony.com/bc).
-->
Commits
-------
c05aac33c12 [FrameworkBundle] Add `--no-fill` option to `translation:extract` command
0 commit comments