[Translation] Allow using "etc/translations" to store translations files

This commit is contained in:
Alex Rock Ancelet
2017-05-27 08:37:51 -07:00
committed by Fabien Potencier
parent dbea6b4af1
commit b3dc37b54b
3 changed files with 14 additions and 0 deletions
@@ -0,0 +1,7 @@
framework:
default_locale: '%locale%'
translator:
paths:
- '%kernel.project_dir%/translations/'
fallbacks:
- '%locale%'
+7
View File
@@ -1,3 +1,10 @@
{
"copy-from-recipe": {
"etc/": "%ETC_DIR%/",
"translations/": "translations/"
},
"container": {
"locale": "en"
},
"aliases": ["translator"]
}