Skip to content

Conversation

@Dgeronivo
Copy link
Contributor

Add all extension names in config. It is more convenient for choose which you want enable. I miss this point and spent couple hours for configuring translations.

@stof
Copy link
Owner

stof commented Apr 30, 2025

Please also add them in the corresponding XML code block to keep code snippets in sync.

@Dgeronivo
Copy link
Contributor Author

Hello. You are exactly right. I updated xml example

@Dgeronivo
Copy link
Contributor Author

Hello. Is it okey?

sortable="false"
softdeleteable="false"
uploadable="false"
reference_integrity="false"
Copy link
Owner

Choose a reason for hiding this comment

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

XML attributes should use a dash instead of an underscore, to follow the usual XML convention (symfony/config is handling that normalization automatically).

As we don't have an XSD in this bundle, both _ and - will work, but the expected one (the one we would define in XSD if we were adding it) is the -.

id="default"
tree="true"
timestampable="false"
timestampable="false" <!-- not needed: listeners are not enabled by default -->
Copy link
Owner

Choose a reason for hiding this comment

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

this is not valid XML. You cannot put a comment in the middle of attributes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok. I want to show extra info. I removed it

Add all extension names in config. It is more convenient for choose which you want enable. I miss this point and spent couple hours for configuring translations.
@Dgeronivo
Copy link
Contributor Author

Dgeronivo commented May 18, 2025

Nice weekend. I fixed PR. It`s ready to merge

@stof stof merged commit 5e47b74 into stof:main May 19, 2025
8 checks passed
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.

2 participants