From 182d927ad61c71c3522561bd9d903dbc473f9bac Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 18 Sep 2019 10:13:30 +0200 Subject: [PATCH] Minor improvement for the docs about the translation:update command --- translation.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/translation.rst b/translation.rst index 4b0bd36ae49..5515227d4d4 100644 --- a/translation.rst +++ b/translation.rst @@ -247,8 +247,14 @@ with these tasks: .. code-block:: terminal - # updates the French translation file with the missing strings for that locale - $ php bin/console translation:update --dump-messages --force fr + # shows all the messages that should be translated for the French language + $ php bin/console translation:update --dump-messages fr + + # updates the French translation files with the missing strings for that locale + $ php bin/console translation:update --force fr + + # check out the command help to see its options (prefix, output format, domain, etc.) + $ php bin/console translation:update --help The ``translation:update`` command looks for missing translations in: @@ -263,11 +269,6 @@ The ``translation:update`` command looks for missing translations in: The extraction of missing translation strings from PHP files was introduced in Symfony 4.3. -.. note:: - - If you want to see the missing translation strings without actually updating - the translation files, remove the ``--force`` option from the command above. - .. _translation-resource-locations: Translation Resource/File Names and Locations pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy