Skip to content

Commit cfbf1db

Browse files
committed
Merge branch '3.4' into 4.3
* 3.4: Recommending real message id for shared bundles
2 parents 518e3a5 + a314ce0 commit cfbf1db

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/translation/usage.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ recommended format. These files are parsed by one of the loader classes.
9191
read "Symfony is really great" in the default locale.
9292

9393
The choice of which method to use is entirely up to you, but the "keyword"
94-
format is often recommended.
94+
format is often recommended for multi-language applications, whereas for
95+
shared bundles that contain translation resources we recommend the real
96+
message, so you application can choose to disable the translator layer
97+
and you will see a readable message.
9598

9699
Additionally, the ``php`` and ``yaml`` file formats support nested ids to
97100
avoid repeating yourself if you use keywords instead of real text for your

0 commit comments

Comments
 (0)