Add recipe for php-translation/loco-adapter

This commit is contained in:
Fran Moreno
2018-10-08 18:51:45 +02:00
parent 0f79ab2c11
commit 0c3c7d5ed4
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,6 @@
translation_adapter_loco:
index_parameter: 'id' # 'text' or 'name'. Leave blank for "auto" See https://localise.biz/api/docs/export/exportlocale
projects:
my_project:
api_key: '%env(LOCO_PROJECT_API_KEY)%'
domains: ['messages']
@@ -0,0 +1,11 @@
{
"bundles": {
"Translation\\PlatformAdapter\\Loco\\Bridge\\Symfony\\TranslationAdapterLocoBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"LOCO_PROJECT_API_KEY": ""
}
}