<% if announcements.items.present? %>
  <section id="announcements" dir="<%= page_text_direction %>" lang="<%= locale %>">
    <%= render "govuk_publishing_components/components/heading", {
        text: t("organisations.content_item.schema_name.announcement.other"),
        id: "announcements",
        margin_bottom: 5,
    } %>

    <%= render "govuk_publishing_components/components/subscription-links", {
        email_signup_link: announcements.links[:email_signup],
        feed_link: announcements.links[:subscribe_to_feed],
        margin_bottom: 5,
    } %>

    <%= render "govuk_publishing_components/components/document_list", {
        items: announcements.items
    } %>

    <div class="read-more">
      <%= link_to "View all announcements", announcements.links[:link_to_news_and_communications], class: "govuk-link" %>
    </div>
  </section>
<% end %>

<% if announcements.items.present? %>
  <section id="announcements" dir="<%= page_text_direction %>" lang="<%= locale %>">
    <%= render "govuk_publishing_components/components/heading", {
        text: t("organisations.content_item.schema_name.announcement.other"),
        lang: t_fallback("organisations.content_item.schema_name.announcement.other"),
        id: "announcements",
        margin_bottom: 5,
    } %>

    <%= render "govuk_publishing_components/components/subscription-links", {
        email_signup_link: announcements.links[:email_signup],
        feed_link: announcements.links[:subscribe_to_feed],
        margin_bottom: 5,
    } %>

    <%= render "govuk_publishing_components/components/document_list", {
        items: announcements.items
    } %>

    <div class="read-more">
      <%= link_to "View all announcements", announcements.links[:link_to_news_and_communications], class: "govuk-link", lang: "en" %>
    </div>
  </section>
<% end %>

Add lang attribute to announcements
Add lang attribute to announcements
