Skip to content

Commit

Permalink
typo in components/translation/instruction.rst
Browse files Browse the repository at this point in the history
$translator->setFallbackLocale() should be $translator->setFallbackLocales()
  • Loading branch information
beesofts authored and xabbuh committed Jul 2, 2015
1 parent e8d0d8e commit fda8ff5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/translation/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ example, assume you're trying to translate into the ``fr_FR`` locale:
fallback locales set explicitly on the translator.

For (3), the fallback locales can be set by calling
:method:`Symfony\\Component\\Translation\\Translator::setFallbackLocale`::
:method:`Symfony\\Component\\Translation\\Translator::setFallbackLocales`::

// ...
$translator->setFallbackLocale(array('en'));
$translator->setFallbackLocales(array('en'));

.. _using-message-domains:

Expand Down

0 comments on commit fda8ff5

Please sign in to comment.