mirror of
https://github.com/symfony/recipes.git
synced 2026-09-13 08:06:23 +03:00
[Translation] Allow using "etc/translations" to store translations files
This commit is contained in:
committed by
Fabien Potencier
parent
dbea6b4af1
commit
b3dc37b54b
@@ -0,0 +1,7 @@
|
|||||||
|
framework:
|
||||||
|
default_locale: '%locale%'
|
||||||
|
translator:
|
||||||
|
paths:
|
||||||
|
- '%kernel.project_dir%/translations/'
|
||||||
|
fallbacks:
|
||||||
|
- '%locale%'
|
||||||
@@ -1,3 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"etc/": "%ETC_DIR%/",
|
||||||
|
"translations/": "translations/"
|
||||||
|
},
|
||||||
|
"container": {
|
||||||
|
"locale": "en"
|
||||||
|
},
|
||||||
"aliases": ["translator"]
|
"aliases": ["translator"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user