File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -382,6 +382,8 @@ gives you access to these variables:
382
382
empty array if no request is available (equivalent to ``app.request.attributes.get('_route_params') ``)
383
383
``app.locale ``
384
384
The locale used in the current :ref: `locale switcher <locale-switcher >` context.
385
+ ``app.enabled_locales ``
386
+ The locales enabled in the application
385
387
386
388
.. versionadded :: 6.2
387
389
@@ -392,6 +394,10 @@ gives you access to these variables:
392
394
393
395
The ``app.locale `` variable was introduced in Symfony 6.3.
394
396
397
+ .. versionadded :: 6.4
398
+
399
+ The ``app.enabled_locales `` variable was introduced in Symfony 6.4.
400
+
395
401
In addition to the global ``app `` variable injected by Symfony, you can also
396
402
inject variables automatically to all Twig templates as explained in the next
397
403
section.
You can’t perform that action at this time.
0 commit comments