Merge pull request #380

This commit is contained in:
symfony-flex-server[bot]
2018-05-23 09:26:51 +00:00
committed by GitHub
3 changed files with 33 additions and 0 deletions
@@ -0,0 +1,8 @@
weglot_translate:
api_key: '%env(WG_API_KEY)%'
original_language : 'en'
cache: true
destination_languages:
- 'fr'
- 'de'
+12
View File
@@ -0,0 +1,12 @@
{
"bundles": {
"Weglot\\TranslateBundle\\WeglotTranslateBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"WG_API_KEY": "..."
}
}
@@ -0,0 +1,13 @@
<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