diff --git a/weglot/translate-bundle/0.6/config/packages/weglot_translate.yaml b/weglot/translate-bundle/0.6/config/packages/weglot_translate.yaml new file mode 100644 index 00000000..c6b615c9 --- /dev/null +++ b/weglot/translate-bundle/0.6/config/packages/weglot_translate.yaml @@ -0,0 +1,8 @@ +weglot_translate: + api_key: '%env(WG_API_KEY)%' + original_language : 'en' + cache: true + destination_languages: + - 'fr' + - 'de' + diff --git a/weglot/translate-bundle/0.6/manifest.json b/weglot/translate-bundle/0.6/manifest.json new file mode 100644 index 00000000..d1ca02cc --- /dev/null +++ b/weglot/translate-bundle/0.6/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Weglot\\TranslateBundle\\WeglotTranslateBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "WG_API_KEY": "..." + } +} + diff --git a/weglot/translate-bundle/0.6/post-install.txt b/weglot/translate-bundle/0.6/post-install.txt new file mode 100644 index 00000000..688dcfe5 --- /dev/null +++ b/weglot/translate-bundle/0.6/post-install.txt @@ -0,0 +1,13 @@ + + Next: Weglot Configuration + + + * The weglot/translate-bundle uses Weglot service. Create a free + account on https://dashboard.weglot.com/register and modify your WG_API_KEY + config in .env + + * Edit the configuration in config/packages/weglot_translate.yaml + to start translate your website. + +More details: https://github.com/weglot/translate-bundle +