We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6c481f + 44df5e8 commit e8345e1Copy full SHA for e8345e1
translation.rst
@@ -476,6 +476,15 @@ The ``translation:extract`` command looks for missing translations in:
476
477
The AST parser support was introduced in Symfony 6.2.
478
479
+By default, when the ``translation:extract`` command creates new entries in the
480
+translation file, it uses the same content as both the source and the pending
481
+translation. The only difference is that the pending translation is prefixed by
482
+``__``. You can customize this prefix using the ``--prefix`` option:
483
+
484
+.. code-block:: terminal
485
486
+ $ php bin/console translation:extract --force --prefix="NEW_" fr
487
488
.. _translation-resource-locations:
489
490
Translation Resource/File Names and Locations
0 commit comments