Skip to content

Conversation

@johanib
Copy link
Contributor

@johanib johanib commented Jan 6, 2026

Prior to this change, the jms translations bundle was still included. This bundle is no longer maintained, and required the abandoned doctrine/annotations bundle.

This change uses the default symfony translations bundle for managing the translations.
https://symfony.com/doc/current/translation.html

@johanib johanib force-pushed the feature/update_jan26 branch 2 times, most recently from eac2252 to fe6a8f6 Compare January 6, 2026 08:51
@johanib johanib requested a review from MKodde January 6, 2026 08:53
Copy link
Member

@MKodde MKodde left a comment

Choose a reason for hiding this comment

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

Nice work, see some concerns below

@johanib johanib force-pushed the feature/update_jan26 branch 2 times, most recently from b2489a1 to 4d70e80 Compare January 7, 2026 10:07
@johanib
Copy link
Contributor Author

johanib commented Jan 7, 2026

Thanks for the review @MKodde, might have been a bit short through the corner.

I took a look at your feedback and made some improvements, please take a look.

@johanib johanib requested a review from MKodde January 7, 2026 10:25
Copy link
Member

@MKodde MKodde left a comment

Choose a reason for hiding this comment

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

All is looking good! Save for one translation that was removed.

Please fix that. And could you also try'n fix the removed -> then created [ xliff -> xlif ] conversion? We are now losing the commit history for those files.

Remove deprecated jms/translation-bundle and with it the doctrine/annotations.

From now on, translations should be edited manually or with an external tool.
Prior to this change, the XLIFF files used the .xliff extension.

This change renames the XLIFF files to use the .xlf extension for standardization.
- Translations of unknown sounce were added to the translations.html.twig so they are not cleaned up.
- validation messages, mostly from 3rd party bundles are not cleaned up.
- Use TranslatableMessage class in places where translations were not detected before
- Cleanup some untranslated and unknown translations
@johanib johanib force-pushed the feature/update_jan26 branch from 4d70e80 to 12ea67e Compare January 12, 2026 13:35
@johanib johanib force-pushed the feature/update_jan26 branch from 12ea67e to 73129f9 Compare January 12, 2026 15:16
@johanib
Copy link
Contributor Author

johanib commented Jan 12, 2026

All is looking good! Save for one translation that was removed.

Please fix that. And could you also try'n fix the removed -> then created [ xliff -> xlif ] conversion? We are now losing the commit history for those files.

Not sure what I can do about that.. acfc0ec shows renamed. But in the diff it interprets it as deleted / added.

@johanib johanib requested a review from MKodde January 12, 2026 15:17
@MKodde
Copy link
Member

MKodde commented Jan 13, 2026

Not sure what I can do about that.. acfc0ec shows renamed. But in the diff it interprets it as deleted / added.

As long as the logs show a rename, we are golden. That should mean we get to keep the git logs 👍

@johanib johanib merged commit 32a6fae into main Jan 13, 2026
2 checks passed
@johanib johanib deleted the feature/update_jan26 branch January 13, 2026 11:01
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.

3 participants