Skip to content

[Translatable] Add a way to ease bulk translations with default locale#3050

Open
Florian-Schoenherr wants to merge 3 commits into
doctrine-extensions:mainfrom
Florian-Schoenherr:main
Open

[Translatable] Add a way to ease bulk translations with default locale#3050
Florian-Schoenherr wants to merge 3 commits into
doctrine-extensions:mainfrom
Florian-Schoenherr:main

Conversation

@Florian-Schoenherr

@Florian-Schoenherr Florian-Schoenherr commented May 3, 2026

Copy link
Copy Markdown

See doc/translatable.md.

Before this change, when you saved all locales translation values (including the default one) only via personal translations, the main entity's field was filled pretty randomly. Either with the default locale value, or depending on exact setup with NULL or the default empty value.
Our usecase is a simple admin UI which has a way of specifying all translations at once.
My other hunch was that the previous behavior was a bug for personal translations which does not happen with the ext_translation table, but idk. Because it seems odd that Gedmo won't sync back if I add a new entity and persist only its translations.

Yes this is a 100 line change, but some of that is the skip check moving down and a bunch of comments.

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.

1 participant