mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
Merge pull request #1172 from wickedOne/phrase-translation-provider
phrase translation provider recipe
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"env": {
|
||||
"#1": "PHRASE_DSN=phrase://PROJECT_ID:API_TOKEN@default?userAgent=Symfony-Phrase-Provider"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
framework:
|
||||
default_locale: en
|
||||
translator:
|
||||
default_path: '%kernel.project_dir%/translations'
|
||||
fallbacks:
|
||||
- en
|
||||
# providers:
|
||||
# crowdin:
|
||||
# dsn: '%env(CROWDIN_DSN)%'
|
||||
# loco:
|
||||
# dsn: '%env(LOCO_DSN)%'
|
||||
# lokalise:
|
||||
# dsn: '%env(LOKALISE_DSN)%'
|
||||
# phrase:
|
||||
# dsn: '%env(PHRASE_DSN)%'
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"translations/": "translations/"
|
||||
},
|
||||
"aliases": ["translator", "translations"]
|
||||
}
|
||||
Reference in New Issue
Block a user