@@ -926,17 +926,18 @@ translation.extractor
926926**Purpose**: To register a custom service that extracts messages from a file
927927
928928.. versionadded:: 2.1
929- The ability to add message extractors is new in 2.1
929+ The ability to add message extractors is new inSymfony 2.1.
930930
931931When executing the ``translation:update`` command, it uses extractors to
932932extract translation messages from a file. By default, the Symfony2 framework
933933has a :class:`Symfony\\Bridge\\TwigBridge\\Translation\\TwigExtractor` and a
934- :class:`Symfony\\Bundle\\FrameworkBundle\\Translation\\PhpExtractor`.
934+ :class:`Symfony\\Bundle\\FrameworkBundle\\Translation\\PhpExtractor`, which
935+ help to find and extract translation keys from Twig templates and PHP files.
935936
936- You can create your own extractor by creating a classwhich implements
937+ You can create your own extractor by creating a classthat implements
937938:class:`Symfony\\Component\\Translation\\Extractor\\ExtractorInterface` and
938939tagging the service with ``translation.extractor``. The tag has one required
939- option: ``alias``,this defines the name of the extractor.
940+ option: ``alias``,which defines the name of the extractor::
940941
941942 // src/Acme/DemoBundle/Translation/FooExtractor.php
942943 namespace Acme\DemoBundle\Translation;
@@ -996,13 +997,13 @@ translation.dumper
996997**Purpose**: To register a custom service that dumps messages to a file
997998
998999.. versionadded:: 2.1
999- The ability to add message dumpers is newto 2.1
1000+ The ability to add message dumpers is newin Symfony 2.1.
10001001
10011002After an `Extractor <translation.extractor>`_ has extracted all messages from
10021003the templates, the dumpers are executed to dump the messages to a translation
10031004file in a specific format.
10041005
1005- Symfony2comes already with many dumpers:
1006+ Symfony2 already comes with many dumpers:
10061007
10071008* :class:`Symfony\\Component\\Translation\\Dumper\\CsvFileDumper`
10081009* :class:`Symfony\\Component\\Translation\\Dumper\\IcuResFileDumper`
@@ -1014,7 +1015,7 @@ Symfony2 comes already with many dumpers:
10141015* :class:`Symfony\\Component\\Translation\\Dumper\\YamlFileDumper`
10151016
10161017You can create your own dumper by extending
1017- :class:`Symfony\\Component\\Translation\\DumperFileDumper ` or implementing
1018+ :class:`Symfony\\Component\\Translation\\Dumper\\FileDumper ` or implementing
10181019:class:`Symfony\\Component\\Translation\\Dumper\\DumperInterface` and tagging
10191020the service with ``translation.dumper``. The tag has one option: ``alias``
10201021This is the name that's used to determine which dumper should be used.