Skip to content

Commit fecd333

Browse files
authored
Merge pull request #1172 from wickedOne/phrase-translation-provider
phrase translation provider recipe
2 parents 26deab4 + 620beb6 commit fecd333

File tree

4 files changed

+27
-0
lines changed

4 files changed

+27
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"env": {
3+
"#1": "PHRASE_DSN=phrase://PROJECT_ID:API_TOKEN@default?userAgent=Symfony-Phrase-Provider"
4+
}
5+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
framework:
2+
default_locale: en
3+
translator:
4+
default_path: '%kernel.project_dir%/translations'
5+
fallbacks:
6+
- en
7+
# providers:
8+
# crowdin:
9+
# dsn: '%env(CROWDIN_DSN)%'
10+
# loco:
11+
# dsn: '%env(LOCO_DSN)%'
12+
# lokalise:
13+
# dsn: '%env(LOKALISE_DSN)%'
14+
# phrase:
15+
# dsn: '%env(PHRASE_DSN)%'

symfony/translation/6.3/manifest.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"copy-from-recipe": {
3+
"config/": "%CONFIG_DIR%/",
4+
"translations/": "translations/"
5+
},
6+
"aliases": ["translator", "translations"]
7+
}

symfony/translation/6.3/translations/.gitignore

Whitespace-only changes.

0 commit comments

Comments
 (0)