mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:41:25 +08:00

Previously the rendered locale was based on the current session's locale. Now that we're routing requests via the CDN, we can't rely on the user's session, and should instead include the locale name in the URL. Also adds a `.js` suffix for parity with our other JS assets.