adding weglot/translate-bundle package recipe

This commit is contained in:
Baptiste Leduc
2018-05-23 11:12:25 +02:00
parent dc3168c58c
commit 9eef724650
3 changed files with 30 additions and 0 deletions
@@ -0,0 +1,7 @@
weglot_translate:
api_key: '%env(WG_API_KEY)%'
original_language : 'en'
cache: true
destination_languages:
- 'fr'
- 'de'
+11
View File
@@ -0,0 +1,11 @@
{
"bundles": {
"Weglot\\TranslateBundle\\WeglotTranslateBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"WG_API_KEY": "..."
}
}
@@ -0,0 +1,12 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Next: Weglot Configuration </>
<bg=blue;fg=white> </>
* 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 <fg=green>.env</>
* Edit the configuration in <fg=green>config/packages/weglot_translate.yaml</>
to start translate your website.
More details: https://github.com/weglot/translate-bundle