mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-15 00:56:29 +03:00
Merge pull request #380
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
weglot_translate:
|
||||
api_key: '%env(WG_API_KEY)%'
|
||||
original_language : 'en'
|
||||
cache: true
|
||||
destination_languages:
|
||||
- 'fr'
|
||||
- 'de'
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user