mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-24 11:59:31 +00:00
Use php-translation symfony bundle.
This gives us some advanced translation extractors (from form labels, flashes, etc.) and provide some more debug tools.
This commit is contained in:
parent
2764401451
commit
e7b920c4fe
14 changed files with 13322 additions and 5544 deletions
11
config/packages/php_translation.yaml
Normal file
11
config/packages/php_translation.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
translation:
|
||||
locales: ["en", "de"]
|
||||
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]
|
||||
Loading…
Add table
Add a link
Reference in a new issue