Added the 3 first Translation Providers

This commit is contained in:
Mathieu Santostefano
2021-06-01 10:33:16 +02:00
parent ce8ee13f21
commit bf1b08555f
6 changed files with 35 additions and 0 deletions
@@ -0,0 +1,5 @@
{
"env": {
"#1": "CROWDIN_DSN=crowdin://PROJECT_ID:API_TOKEN@ORGANIZATION_DOMAIN.default"
}
}
@@ -0,0 +1,5 @@
{
"env": {
"#1": "LOCO_DSN=loco://API_KEY@default"
}
}
@@ -0,0 +1,5 @@
{
"env": {
"#1": "LOKALISE_DSN=lokalise://PROJECT_ID:API_KEY@default"
}
}
@@ -0,0 +1,13 @@
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)%'
+7
View File
@@ -0,0 +1,7 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"translations/": "translations/"
},
"aliases": ["translator", "translations"]
}