When visiting a page that doesn't exists the site goes in a redirection loop:
https://jam.dev/c/1a307e82-067e-4f86-8de7-2f175fb12f60
I've stopped the loop in this Jam by pressing Esc after few reloads.
Be careful to not break the rest of the language redirection logic when fixing this.