@@ -104,16 +104,11 @@ To inspect all messages in the ``fr`` locale for the application, run:
104104
105105 $ php bin/console debug:translation fr
106106
107- +----------+------------------+----------------------+-------------------------------+
108- | State(s) | Id | Message Preview (fr) | Fallback Message Preview (en) |
109- +----------+------------------+----------------------+-------------------------------+
110- | o | Symfony is great | J'aime Symfony | Symfony is great |
111- +----------+------------------+----------------------+-------------------------------+
112-
113- Legend:
114- x Missing message
115- o Unused message
116- = Same as the fallback message
107+ --------- ------------------ ---------------------- -------------------------------
108+ State Id Message Preview (fr) Fallback Message Preview (en)
109+ --------- ------------------ ---------------------- -------------------------------
110+ unused Symfony is great J'aime Symfony Symfony is great
111+ --------- ------------------ ---------------------- -------------------------------
117112
118113 It shows you a table with the result when translating the message in the ``fr ``
119114locale and the result when the fallback locale ``en `` would be used. On top
@@ -129,16 +124,11 @@ output:
129124
130125 $ php bin/console debug:translation fr
131126
132- +----------+------------------+----------------------+-------------------------------+
133- | State(s) | Id | Message Preview (fr) | Fallback Message Preview (en) |
134- +----------+------------------+----------------------+-------------------------------+
135- | | Symfony is great | J'aime Symfony | Symfony is great |
136- +----------+------------------+----------------------+-------------------------------+
137-
138- Legend:
139- x Missing message
140- o Unused message
141- = Same as the fallback message
127+ --------- ------------------ ---------------------- -------------------------------
128+ State Id Message Preview (fr) Fallback Message Preview (en)
129+ --------- ------------------ ---------------------- -------------------------------
130+ Symfony is great J'aime Symfony Symfony is great
131+ --------- ------------------ ---------------------- -------------------------------
142132
143133 The state is empty which means the message is translated in the ``fr `` locale
144134and used in one or more templates.
@@ -150,16 +140,11 @@ for the ``fr`` locale and run the command, you will get:
150140
151141 $ php bin/console debug:translation fr
152142
153- +----------+------------------+----------------------+-------------------------------+
154- | State(s) | Id | Message Preview (fr) | Fallback Message Preview (en) |
155- +----------+------------------+----------------------+-------------------------------+
156- | x = | Symfony is great | J'aime Symfony | Symfony is great |
157- +----------+------------------+----------------------+-------------------------------+
158-
159- Legend:
160- x Missing message
161- o Unused message
162- = Same as the fallback message
143+ --------- ------------------ ---------------------- -------------------------------
144+ State Id Message Preview (fr) Fallback Message Preview (en)
145+ --------- ------------------ ---------------------- -------------------------------
146+ missing Symfony is great J'aime Symfony Symfony is great
147+ --------- ------------------ ---------------------- -------------------------------
163148
164149 The state indicates the message is missing because it is not translated in
165150the ``fr `` locale but it is still used in the template. Moreover, the message
@@ -174,16 +159,11 @@ translation file in the ``fr`` locale and run the command, you will get:
174159
175160 $ php bin/console debug:translation fr
176161
177- +----------+------------------+----------------------+-------------------------------+
178- | State(s) | Id | Message Preview (fr) | Fallback Message Preview (en) |
179- +----------+------------------+----------------------+-------------------------------+
180- | = | Symfony is great | J'aime Symfony | Symfony is great |
181- +----------+------------------+----------------------+-------------------------------+
182-
183- Legend:
184- x Missing message
185- o Unused message
186- = Same as the fallback message
162+ ---------- ------------------ ---------------------- -------------------------------
163+ State Id Message Preview (fr) Fallback Message Preview (en)
164+ ---------- ------------------ ---------------------- -------------------------------
165+ fallback Symfony is great J'aime Symfony Symfony is great
166+ ---------- ------------------ ---------------------- -------------------------------
187167
188168 You can see that the translations of the message are identical in the ``fr ``
189169and ``en `` locales which means this message was probably copied from French
0 commit comments