{"agent":"claude","input":"Add a front-end language switcher to this Wagtail site and open a pull request. Read requirements/base.txt, bakerydemo/settings/base.py, bakerydemo/urls.py, bakerydemo/templates/base.html, bakerydemo/templates/includes/header.html, bakerydemo/base/templatetags/navigation_tags.py, bakerydemo/templates/tags/top_menu.html and bakerydemo/base/tests/test_seo.py first. Add LocaleMiddleware after SessionMiddleware. Wrap the search route and the wagtail_urls include in i18n_patterns with prefix_default_language False, leaving admin, documents, images, API and sitemap routes unprefixed. Add a language_switcher inclusion tag that lists the current page's live public translations in LANGUAGES order with aria-current on the active one and falls back to the set_language form on non-page views, and include it in both navigations in header.html. Set lang and dir on the html element from LANGUAGE_CODE and LANGUAGE_BIDI and add hreflang alternate links plus x-default in base.html. Write bakerydemo/base/tests/test_i18n.py in the style of test_seo.py covering the links, hreflang, rtl for Arabic and the unprefixed default language. Run manage.py check, makemigrations --check, manage.py test and make lint-server, and paste the output in the pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}