From f15474fe661d63f2eb4784c27308ab599f381977 Mon Sep 17 00:00:00 2001 From: Jon Kirwan <87758239+jon-kirwan@users.noreply.github.com> Date: Tue, 10 Aug 2021 14:12:11 +0100 Subject: [PATCH] Add language tag for Welsh link in public layout template --- CHANGELOG.md | 1 + .../presenters/public_layout_helper.rb | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cee6fc376..c0597f3920 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ # Unreleased * Fix track click link tracking ([PR #2265](https://github.com/alphagov/govuk_publishing_components/pull/2265)) +* Add language tag for Welsh link in public layout template ([PR #2258](https://github.com/alphagov/govuk_publishing_components/pull/2258)) # 25.3.0 diff --git a/lib/govuk_publishing_components/presenters/public_layout_helper.rb b/lib/govuk_publishing_components/presenters/public_layout_helper.rb index 1911d51df2..a28ae557ea 100644 --- a/lib/govuk_publishing_components/presenters/public_layout_helper.rb +++ b/lib/govuk_publishing_components/presenters/public_layout_helper.rb @@ -353,6 +353,9 @@ class PublicLayoutHelper { href: "/cymraeg", text: "Rhestr o Wasanaethau Cymraeg", + attributes: { + lang: "cy", + }, }, { href: "/government/organisations/government-digital-service",