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 3aed04d + e8345e1 commit f885d43Copy full SHA for f885d43
translation.rst
@@ -467,6 +467,15 @@ The ``translation:extract`` command looks for missing translations in:
467
468
$ composer require nikic/php-parser
469
470
+By default, when the ``translation:extract`` command creates new entries in the
471
+translation file, it uses the same content as both the source and the pending
472
+translation. The only difference is that the pending translation is prefixed by
473
+``__``. You can customize this prefix using the ``--prefix`` option:
474
+
475
+.. code-block:: terminal
476
477
+ $ php bin/console translation:extract --force --prefix="NEW_" fr
478
479
.. _translation-resource-locations:
480
481
Translation Resource/File Names and Locations
0 commit comments