On the broken site, can you run this in the browser console and share the output here:
JSON.parse(Discourse.__container__.lookup('site-settings:main').available_locales)
I ran that on this page on an NPN page (as an anonymous user), and it returns an array of 25 languages (with names and values), which seems fine.