From 9eef724650be02fd1a0a6df8353775f4f2db3767 Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Wed, 23 May 2018 11:12:25 +0200 Subject: [PATCH] adding weglot/translate-bundle package recipe --- .../0.6/config/packages/weglot_translate.yml | 7 +++++++ weglot/translate-bundle/0.6/manifest.json | 11 +++++++++++ weglot/translate-bundle/0.6/post-install.txt | 12 ++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 weglot/translate-bundle/0.6/config/packages/weglot_translate.yml create mode 100644 weglot/translate-bundle/0.6/manifest.json create mode 100644 weglot/translate-bundle/0.6/post-install.txt diff --git a/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml b/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml new file mode 100644 index 00000000..48c3a82d --- /dev/null +++ b/weglot/translate-bundle/0.6/config/packages/weglot_translate.yml @@ -0,0 +1,7 @@ +weglot_translate: + api_key: '%env(WG_API_KEY)%' + original_language : 'en' + cache: true + destination_languages: + - 'fr' + - 'de' \ No newline at end of file diff --git a/weglot/translate-bundle/0.6/manifest.json b/weglot/translate-bundle/0.6/manifest.json new file mode 100644 index 00000000..afe1830c --- /dev/null +++ b/weglot/translate-bundle/0.6/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Weglot\\TranslateBundle\\WeglotTranslateBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "WG_API_KEY": "..." + } +} \ No newline at end of file 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..3501805f --- /dev/null +++ b/weglot/translate-bundle/0.6/post-install.txt @@ -0,0 +1,12 @@ + + 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 \ No newline at end of file