8000 [FrameworkBundle] Fix support for `translator.default_path` in XML by HeahDude · Pull Request #51671 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] Fix support for translator.default_path in XML #51671

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

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

HeahDude
Copy link
Contributor
Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets ~
License MIT
Doc PR symfony/symfony-docs#18872

The docs is currently wrong assuming there is an element default-path using XML config, https://symfony.com/doc/current/translation.html#configuration.

It appears it's missing in the XSD, but IMO it should be added as an attribute.

@carsonbot carsonbot added this to the 5.4 milestone Sep 16, 2023
@carsonbot carsonbot changed the title [Translator] Fix support for default_path in XML [Translation] Fix support for default_path in XML Sep 16, 2023
@nicolas-grekas nicolas-grekas changed the title [Translation] Fix support for default_path in XML [Translation] Fix support for translator.default_path in XML Sep 19, 2023
@nicolas-grekas nicolas-grekas changed the title [Translation] Fix support for translator.default_path in XML [FrameworkBundle] Fix support for translator.default_path in XML Sep 19, 2023
@nicolas-grekas
Copy link
Member

Thank you @HeahDude.

@nicolas-grekas nicolas-grekas merged commit ac2e41f into symfony:5.4 Sep 19, 2023
@HeahDude HeahDude deleted the fix/translator-config-xsd branch September 19, 2023 13:58
javiereguiluz added a commit to symfony/symfony-docs that referenced this pull request Sep 19, 2023
This PR was merged into the 5.4 branch.

Discussion
----------

[Translation] Fix `default-path` XML config

Note: we should wait for symfony/symfony#51671 to be merged first.

Commits
-------

8f381f6 [Translator] Fix `default-path` XML config
This was referenced Sep 30, 2023
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.

4 participants
0