<!DOCTYPE html>
<html>
<head>
  <title><%= yield :title %> - GOV.UK</title>
  <%= javascript_include_tag "application" %>
  <%= stylesheet_link_tag "application" %>
  <%= csrf_meta_tags %>
  <%= yield :meta_tags %>
  <%= yield :meta_section %>
  <%= yield :extra_headers %>
  <%= render 'govuk_publishing_components/components/meta_tags', content_item: @content_item %>
  <%= stylesheet_link_tag "print.css", :media => "print", integrity: true, crossorigin: 'anonymous' %>
</head>

<body <% if content_for(:is_full_width_header) %>class="full-width"<% end %>>
  <div class="wrapper" id="wrapper">
    <% unless content_for(:is_full_width_header) %>
      <% if content_for?(:breadcrumbs) %>
        <%= yield :breadcrumbs %>
      <% else %>
        <%= render 'breadcrumbs' %>
      <% end %>
    <% end %>

    <main id="content" role="main" class="content <%= yield :page_class %>">
      <%= yield %>
    </main>

    <% if content_for(:is_taxon_with_subtopics) %>
      <div class="taxon-feedback-wrapper">
        <%= render 'govuk_publishing_components/components/feedback', margin_top: 0 %>
      </div>
    <% else %>
      <%= render 'govuk_publishing_components/components/feedback' %>
    <% end %>
  </div>
</body>
</html>

<!DOCTYPE html>
<html>
<head>
  <title><%= yield :title %> - GOV.UK</title>
  <%= javascript_include_tag "application" %>
  <%= stylesheet_link_tag "application" %>
  <%= csrf_meta_tags %>
  <%= yield :meta_tags %>
  <%= yield :meta_section %>
  <%= yield :extra_headers %>
  <%= render 'govuk_publishing_components/components/meta_tags', content_item: @content_item %>
  <%= stylesheet_link_tag "print.css", :media => "print", integrity: true, crossorigin: 'anonymous' %>
</head>

<body <% if content_for(:is_full_width_header) %>class="full-width"<% end %>>
  <div class="wrapper" id="wrapper" <%= "lang=#{@content_item["locale"]}" unless !@content_item["locale"] || @content_item["locale"].eql?("en") %>>
    <% unless content_for(:is_full_width_header) %>
      <% if content_for?(:breadcrumbs) %>
        <%= yield :breadcrumbs %>
      <% else %>
        <%= render 'breadcrumbs' %>
      <% end %>
    <% end %>

    <main id="content" role="main" class="content <%= yield :page_class %>">
      <%= yield %>
    </main>

    <% if content_for(:is_taxon_with_subtopics) %>
      <div class="taxon-feedback-wrapper">
        <%= render 'govuk_publishing_components/components/feedback', margin_top: 0 %>
      </div>
    <% else %>
      <%= render 'govuk_publishing_components/components/feedback' %>
    <% end %>
  </div>
</body>
</html>

Add lang attribute to wrapper
Add lang attribute to wrapper
