added translations
This commit is contained in:
1 parent
36ed3880e8
commit
71635eb574
33 files changed
+1025
-241
No files matched your search
@@ -0,0 +1,13 @@
|
||||
framework:
|
||||
default_locale: de
|
||||
# Languages the site is offered in. To add one: list its code here, add
|
||||
# translations/{messages,js,formats}.<code>.yaml (copy the "de" files and
|
||||
# translate), and — if flatpickr ships it — nothing else; the language
|
||||
# switcher, <html lang> and the date picker locale follow from this list.
|
||||
enabled_locales: ['de', 'en']
|
||||
translator:
|
||||
default_path: '%kernel.project_dir%/translations'
|
||||
# A key missing from a language falls back to German instead of
|
||||
# showing the raw key.
|
||||
fallbacks: ['de']
|
||||
providers:
|
||||
@@ -1,5 +1,7 @@
|
||||
twig:
|
||||
default_path: '%kernel.project_dir%/templates'
|
||||
globals:
|
||||
enabled_locales: '%kernel.enabled_locales%'
|
||||
|
||||
when@test:
|
||||
twig:
|
||||
|
||||
@@ -302,7 +302,7 @@ use Symfony\Component\Config\Loader\ParamConfigurator as Param;
|
||||
* },
|
||||
* },
|
||||
* translator?: bool|array{ // Translator configuration
|
||||
* enabled?: bool|Param, // Default: false
|
||||
* enabled?: bool|Param, // Default: true
|
||||
* fallbacks?: Param|string|list<scalar|Param|null>,
|
||||
* logging?: bool|Param, // Default: false
|
||||
* formatter?: scalar|Param|null, // Default: "translator.formatter.default"
|
||||
|
||||
Reference in new issue
Block a user