Translation navigation example

Right to left

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/translation_nav", {
  translations: [
    {
      locale: "en",
      base_path: "/en",
      text: "English"
    },
    {
      locale: "ar",
      base_path: "/ar",
      text: "العربية",
      active: true
    }
  ]
} %>