[6.x] Multisite - make it clearer when globals have/haven't been translated - #15268
Open
jaygeorge wants to merge 4 commits into
Open
[6.x] Multisite - make it clearer when globals have/haven't been translated#15268jaygeorge wants to merge 4 commits into
jaygeorge wants to merge 4 commits into
Conversation
jasonvarga
force-pushed
the
multisite-is-it-translated
branch
from
August 28, 2026 02:08
8f08b85 to
a0a3057
Compare
PHPStan could not resolve root \Log aliases, and the trans-import check required use function Statamic\trans as __ in Entry.
Indicate fully synced localizations and Origin/Active/Root like entries, keep the dropdown icon in sync while editing, order sites by sites.yaml, and guard badge props as booleans for shared SiteSelector consumers.
jasonvarga
force-pushed
the
multisite-is-it-translated
branch
from
August 28, 2026 02:42
a0a3057 to
0d457c0
Compare
Add the blank line before the Statamic trans import required by Pint after cd04681 added the use function import for the trans-import check.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the Problem
When editing a multisite globals, it's not clear what's been translated and what hasn't.
It would be useful to tell at a glance which localizations still fully inherit vs which have local data.
This problem is reported here statamic/ideas#657
This, along with #15253, should close statamic/ideas#657
What this PR Does
data()empty — same rule as field-level sync)Before
What's been translated? It's not clear
After
It's now easy to understand which globals have been modified (they do not still have the sync icon), and we can clearly see the origin of the current global (as a side note, the group order here now also follows the config page)
How to Reproduce
/cp/globals/company)