mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Add recipe for php-translation/loco-adapter
This commit is contained in:
@@ -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": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user