Skip to content

Added documentation for translation:debug#3629

Merged
weaverryan merged 4 commits intosymfony:masterfrom
florianv:translation-debug
Mar 17, 2014
Merged

Added documentation for translation:debug#3629
weaverryan merged 4 commits intosymfony:masterfrom
florianv:translation-debug

Conversation

@florianv
Copy link
Copy Markdown
Contributor

@florianv florianv commented Mar 3, 2014

Q A
Doc fix? no
New docs? yes symfony/symfony#10368
Applies to 2.5+
Fixed tickets

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a versionadded directive:

Debugging Translations
----------------------

.. versionadded:: 2.5
    The ``translation:debug`` command was introduced in Symfony 2.5.

@florianv
Copy link
Copy Markdown
Contributor Author

florianv commented Mar 3, 2014

Thanks @wouterj

@wouterj
Copy link
Copy Markdown
Member

wouterj commented Mar 3, 2014

👍

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

helps you to find

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommended rewording - this would be immediately followed by the configuration-block

Suppose your application's default_locale is fr and you have configured en as the fallback locale (see :ref:book-translation-configuration and :ref:book-translation-fallback for how to configure these). And suppose you've already setup some translations for the fr locale inside an AcmeDemoBundle:

@weaverryan
Copy link
Copy Markdown
Contributor

@florianv I just added another set of small changes - but wow, it's really nice - great effort!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should use ', not . Otherwise your code is invalid

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

@weaverryan
Copy link
Copy Markdown
Contributor

Great work on this Florian! Thank you so much!

weaverryan added a commit that referenced this pull request Mar 17, 2014
This PR was merged into the master branch.

Discussion
----------

Added documentation for translation:debug

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes symfony/symfony#10368
| Applies to    | 2.5+
| Fixed tickets |

Commits
-------

b6ac454 Fixed the issues
38b2955 Improved the documentation with examples and images
864b9f2 Merge branch 'master' of github.com:symfony/symfony-docs into translation-debug
2d9647b Added documentation for translation:debug
@weaverryan weaverryan merged commit b6ac454 into symfony:master Mar 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants