Skip to content

Let overridden readers supply locale fallback - #2464

Merged
tf merged 1 commit into
codevise:masterfrom
tf:privacy-url-reader
Aug 10, 2026
Merged

Let overridden readers supply locale fallback#2464
tf merged 1 commit into
codevise:masterfrom
tf:privacy-url-reader

Conversation

@tf

@tf tf commented Aug 10, 2026

Copy link
Copy Markdown
Member

Resolving a translated attribute for a locale without translation read the raw column, so host apps that override such an attribute's reader to compute a default lost that default everywhere. Sites without an explicitly configured privacy URL, for instance, rendered no privacy link at all. Reading through the reader instead restores that extension point for all consumers at once; an explicit per locale translation still takes precedence.

An overridden reader must not call translated itself, since that would recurse.

Resolving a translated attribute for a locale without translation read
the raw column, so host apps that override such an attribute's reader
to compute a default lost that default everywhere. Sites without an
explicitly configured privacy URL, for instance, rendered no privacy
link at all. Reading through the reader instead restores that
extension point for all consumers at once; an explicit per locale
translation still takes precedence.

An overridden reader must not call `translated` itself, since that
would recurse.
@tf tf added this to the v17.2 milestone Aug 10, 2026
@tf
tf merged commit 4bf3609 into codevise:master Aug 10, 2026
16 checks passed
@tf
tf deleted the privacy-url-reader branch August 10, 2026 13:10
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.

1 participant