8000 Add new translations config path by yceruto · Pull Request #8634 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Add new translations config path #8634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

yceruto
Copy link
Member
@yceruto yceruto commented Nov 13, 2017

@xabbuh xabbuh added the On hold label Nov 13, 2017
fabpot added a commit to symfony/symfony that referenced this pull request Nov 23, 2017
… default paths (yceruto)

This PR was merged into the 3.4 branch.

Discussion
----------

[FrameworkBundle] Update translation commands to work with default paths

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #25062
| License       | MIT
| Doc PR        | symfony/symfony-docs#8634

This should make translation commands (debug & update) work with `translator.default_path` and `twig.default_path` directories (introduced here in 3.4) and their overridden paths if available.

Would be great to include also the custom paths mapping by the user, either `translator.paths` as `twig.paths`, but I'm not sure about the right way and probably it should be implemented on another branch.

TODO
- [x]  Add some tests.

Commits
-------

dc72866 Update translation commands to work with default paths
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull request Nov 23, 2017
… default paths (yceruto)

This PR was merged into the 3.4 branch.

Discussion
----------

[FrameworkBundle] Update translation commands to work with default paths

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | symfony/symfony#25062
| License       | MIT
| Doc PR        | symfony/symfony-docs#8634

This should make translation commands (debug & update) work with `translator.default_path` and `twig.default_path` directories (introduced here in 3.4) and their overridden paths if available.

Would be great to include also the custom paths mapping by the user, either `translator.paths` as `twig.paths`, but I'm not sure about the right way and probably it should be implemented on another branch.

TODO
- [x]  Add some tests.

Commits
-------

dc7286625b Update translation commands to work with default paths
@yceruto
Copy link
Member Author
yceruto commented Nov 23, 2017

Now that symfony/symfony#25065 was merged, this PR is open to review!

@yceruto
Copy link
Member Author
yceruto commented Nov 23, 2017

Closing in favor of #8733 which look much better that this one :)

@yceruto yceruto closed this Nov 23, 2017
@yceruto yceruto deleted the translations_path branch February 27, 2018 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0