diff --git a/php-translation/loco-adapter/0.8/config/packages/php_translation_loco_adapter.yaml b/php-translation/loco-adapter/0.8/config/packages/php_translation_loco_adapter.yaml new file mode 100644 index 00000000..a04a7795 --- /dev/null +++ b/php-translation/loco-adapter/0.8/config/packages/php_translation_loco_adapter.yaml @@ -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'] diff --git a/php-translation/loco-adapter/0.8/manifest.json b/php-translation/loco-adapter/0.8/manifest.json new file mode 100644 index 00000000..a75cab15 --- /dev/null +++ b/php-translation/loco-adapter/0.8/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Translation\\PlatformAdapter\\Loco\\Bridge\\Symfony\\TranslationAdapterLocoBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "LOCO_PROJECT_API_KEY": "" + } +}