Merge pull request #1172 from wickedOne/phrase-translation-provider

phrase translation provider recipe
This commit is contained in:
Fabien Potencier
2023-08-12 15:09:38 +02:00
committed by GitHub
4 changed files with 27 additions and 0 deletions
@@ -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)%'
+7
View File
@@ -0,0 +1,7 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"translations/": "translations/"
},
"aliases": ["translator", "translations"]
}