Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
380792b9
Commit
380792b9
authored
Sep 16, 2013
by
Daniel Tschinder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also update doc for translation changes
parent
60baeadc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/providers/translation.rst
doc/providers/translation.rst
+2
-2
No files found.
doc/providers/translation.rst
View file @
380792b9
...
@@ -13,7 +13,7 @@ Parameters
...
@@ -13,7 +13,7 @@ Parameters
* **locale** (optional): The locale for the translator. You will most likely
* **locale** (optional): The locale for the translator. You will most likely
want to set this based on some request parameter. Defaults to ``en``.
want to set this based on some request parameter. Defaults to ``en``.
* **locale_fallback
** (optional): Fallback locale
for the translator. It will
* **locale_fallback
s** (optional): Fallback locales
for the translator. It will
be used when the current locale has no messages set. Defaults to ``en``.
be used when the current locale has no messages set. Defaults to ``en``.
Services
Services
...
@@ -38,7 +38,7 @@ Registering
...
@@ -38,7 +38,7 @@ Registering
.. code-block:: php
.. code-block:: php
$app->register(new Silex\Provider\TranslationServiceProvider(), array(
$app->register(new Silex\Provider\TranslationServiceProvider(), array(
'locale_fallback
' => 'en'
,
'locale_fallback
s' => array('en')
,
));
));
.. note::
.. note::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment