* fix(i18n): correctly compute the current locale
* Update packages/astro/test/fixtures/i18n-routing-dynamic/src/pages/[language].astro
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* make code more readable
* rebase
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>