When one of the language uses script that flows from right to left, mark it
with dir: 'rtl'. If any rtl items are present, items without a dir will default to ltr.
=govuk_language_navigation(html_attributes: {lang: "en"})do|c|=c.with_item(text: "English",current: true,lang: "en")=c.with_item(text: "Cymraeg",lang: "cy",href: "#/cy",language_description_text: "Newid yr iaith i'r Cymraeg")
<%=govuk_language_navigation(html_attributes: {lang: "en"})do|c|%><%=c.with_item(text: "English",current: true,lang: "en")%><%=c.with_item(text: "Cymraeg",lang: "cy",href: "#/cy",language_description_text: "Newid yr iaith i'r Cymraeg")%><%end%>
<navclass="govuk-language-navigation"aria-label="language"lang="en"><ulclass="govuk-language-navigation__list"><liclass="govuk-language-navigation__list-item"><spanclass="govuk-language-navigation__text"aria-current="true"lang="en">English</span></li><liclass="govuk-language-navigation__list-item"><aclass="govuk-language-navigation__link"href="#/cy"lang="cy"hreflang="cy"rel="alternate">Cymraeg<spanclass="govuk-visually-hidden"> Newid yr iaith i'r Cymraeg</span></a></li></ul></nav>