import React from 'react' import Link from 'next/link' import { withRouter } from 'next/router' import i18n from '../i18n' const LanguageSwitch = ({ router }) => (