Teffen Ellis d802b825dd web/i18n: load the locale catalog before boot and remove msg() thunks (#27618)
* web: move entrypoint bodies into importable modules

Entrypoints import the moved module, with no change in behavior. This
lets a later change run code before the interface modules evaluate.

* web/i18n: load the locale catalog before the interface boots

The locale is fixed per page since #25156, but the catalog still loaded
from a component lifecycle hook, after every statically imported module
had evaluated. Module-level msg() calls returned English.

- each entrypoint awaits initializeLocale() before importing the interface
- the lit-localize runtime moves to #common/ui/locale/runtime

* web/i18n: remove live locale switching

Switching locale reloads the page since #25156, and the catalog now loads
before boot, so nothing observes a locale change after startup.

- LocaleContextController only provides the runtime; drop the lang observer
- drop the activeLanguageTag setter from WithLocale
- drop LOCALE_STATUS_EVENT listeners in the admin interface, API locale
  middleware, captcha stage, and locale select

* Fix type.

* Unify types.

* web/i18n: unwrap msg() thunks in label records

The catalog now loads before any interface module evaluates, so label
records can hold translated strings directly.

- label records hold strings instead of MessageFormatter thunks
- call sites read the value instead of calling it
2026-11-06 00:51:00 +00:00
2026-10-29 14:52:11 +00:00
2026-03-31 11:33:46 +02:00
2026-10-22 18:02:59 +01:00
2026-08-03 19:48:58 +00:00
2026-06-24 19:50:08 +02:00
2025-09-02 21:38:53 +00:00
…
2026-09-30 18:31:32 +00:00

authentik logo


Join Discord GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status Code Coverage Latest version

What is authentik?

authentik is an open-source Identity Provider (IdP) for modern SSO. It supports SAML, OAuth2/OIDC, LDAP, RADIUS, and more, designed for self-hosting from small labs to large production clusters.

Our enterprise offering is available for organizations to securely replace existing IdPs such as Okta, Auth0, Entra ID, and Ping Identity for robust, large-scale identity management.

Installation

  • Docker Compose: recommended for small/test setups. See the documentation.
  • Kubernetes (Helm Chart): recommended for larger setups. See the documentation and the Helm chart repository.
  • AWS CloudFormation: deploy on AWS using our official templates. See the documentation.
  • DigitalOcean Marketplace: one-click deployment via the official Marketplace app. See the app listing.

Screenshots

Light Dark

Development and contributions

See the Developer Documentation for information about setting up local build environments, testing your contributions, and our contribution process.

When you contribute documentation, either to accompany a code change or as a standalone contribution, please be sure to follow our documentation Style Guide.

Security

Please see SECURITY.md.

Adoption

Using authentik? We'd love to hear your story and feature your logo. Email us at [email protected] or open a GitHub Issue/PR!

License

MIT License CC BY-SA 4.0 authentik EE License

S
Description
Fork of https://github.com/goauthentik/authentik — upstream code for rebrand work. No rebrand edits yet.
Readme MIT
1.2 GiB
0 Stars 1 Watchers 0 Forks
Languages
Python 56.4%
TypeScript 34.3%
Rust 3.4%
CSS 2.2%
JavaScript 1.6%
Other 2%