Browse Source

translations recipes

François Drouhard 2 years ago
parent
commit
b7dc7302ce
2 changed files with 12 additions and 5 deletions
  1. 8 1
      config/packages/translation.yaml
  2. 4 4
      symfony.lock

+ 8 - 1
config/packages/translation.yaml

@@ -4,4 +4,11 @@ framework:
     translator:
         default_path: '%kernel.project_dir%/translations'
         fallbacks:
-            - '%locale%'
+            - en
+#        providers:
+#            crowdin:
+#                dsn: '%env(CROWDIN_DSN)%'
+#            loco:
+#                dsn: '%env(LOCO_DSN)%'
+#            lokalise:
+#                dsn: '%env(LOKALISE_DSN)%'

+ 4 - 4
symfony.lock

@@ -502,12 +502,12 @@
         "version": "v5.1.3"
     },
     "symfony/translation": {
-        "version": "3.3",
+        "version": "5.4",
         "recipe": {
             "repo": "github.com/symfony/recipes",
-            "branch": "master",
-            "version": "3.3",
-            "ref": "1fb02a6e1c8f3d4232cce485c9afa868d63b115a"
+            "branch": "main",
+            "version": "5.3",
+            "ref": "da64f5a2b6d96f5dc24914517c0350a5f91dee43"
         },
         "files": [
             "config/packages/translation.yaml",