There is no extension able to load the configuration for "_translation_webui"
# config/bundles.php
return [
// ...
Translation\Bundle\TranslationBundle::class => ['all' => true],
];
0
0
# config/routes/dev/php_translation.yaml
_translation_webui:
resource: "@TranslationBundle/Resources/config/routing_webui.yaml"
prefix: /admin
_translation_profiler:
resource: '@TranslationBundle/Resources/config/routing_symfony_profiler.yaml'
Thank you!
0
0
4.56
9
# config/packages/php_translation.yaml
translation:
locales: ["en"]
edit_in_place:
enabled: false
config_name: app
configs:
app:
dirs: ["%kernel.project_dir%/templates", "%kernel.project_dir%/src"]
output_dir: "%kernel.project_dir%/translations"
excluded_names: ["*TestCase.php", "*Test.php"]
excluded_dirs: [cache, data, logs]
Thank you!
9
0
0
10
# config/packages/dev/php_translation.yaml
translation:
symfony_profiler:
enabled: true
webui:
enabled: true
Thank you!
10
0
Are there any code examples left?
New code examples in category Other