Skip to content

Banner for out-of-date translations not displaying #10694

@wackerow

Description

@wackerow

Describe the bug

When exploring #9306 I noticed that the banner we display on translated pages that are not fully up-to-date with the English copy is not being displayed.

To reproduce

  1. Go to https://ethereum.org/de/developers/docs/oracles
  2. Notice that no banner is displayed

To further demonstrate, notice the second H2 has a hash link of #what-is-an-oracle on the German (de) version, but #what-is-a-blockchain-oracle on the English version. This difference should trigger the banner.

Expected behavior

When content structure has changed with the English version, the translated versions that no longer match the same structure should result in a banner being displayed informing users that there is more up-to-date content available in English.

This is not for the case when the page has not yet been translated at all... this presents a different banner which continues to work appropriately.

Screenshots

No response

Desktop (please complete the following information)

No response

Smartphone (please complete the following information)

No response

Additional context

No response

Would you like to work on this issue?

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleThis issue is stale because it has been open 30 days with no activity.bug 🐛Something isn't workingdev requiredThis requires developer resourceshelp wantedExtra attention is needed or someone is needed to helpmedium priorityThis has a medium priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions