File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -562,16 +562,22 @@ if you're generating translations with specialized programs or teams.
562
562
;
563
563
};
564
564
565
- .. note ::
566
-
567
- You can also store translations in a database; it can be handled by
568
- Doctrine through the `Translatable Extension `_ or the `Translatable Behavior `_
569
- (PHP 5.4+). For more information, see the documentation for these libraries.
570
-
571
- For any other storage, you need to provide a custom class implementing the
572
- :class: `Symfony\\ Component\\ Translation\\ Loader\\ LoaderInterface `
573
- interface. See the :ref: `dic-tags-translation-loader ` tag for more
574
- information.
565
+ Translations of Doctrine Entities
566
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
567
+
568
+ Unlike the contents of templates, it's not practical to translate the contents
569
+ stored in Doctrine Entities using translation catalogs. Instead, use the
570
+ Doctrine `Translatable Extension `_ or the `Translatable Behavior `_. For more
571
+ information, see the documentation for these libraries.
572
+
573
+ Custom Translation Resources
574
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
575
+
576
+ If your translations use a format not supported by Symfony or you store them
577
+ in not using Doctrine entities, you need to provide a custom class implementing
578
+ the :class: `Symfony\\ Component\\ Translation\\ Loader\\ LoaderInterface `
579
+ interface. See the :ref: `dic-tags-translation-loader ` tag for more
580
+ information.
575
581
576
582
.. _translation-providers :
577
583
You can’t perform that action at this time.
0 commit comments