Skip to content

web: enable Danish (da-DK) locale - #26776

Open
asbjoern-navio wants to merge 1 commit into
goauthentik:mainfrom
asbjoern-navio:web/register-danish-locale
Open

asbjoern-navio wants to merge 1 commit into
goauthentik:mainfrom
asbjoern-navio:web/register-danish-locale

Conversation

@asbjoern-navio

Copy link
Copy Markdown

Details

What does this PR change?

Sets ship: true for da-DK in locales.yaml and regenerates the outputs:

  • make gen-locales updates web/lit-localize.json and web/src/common/ui/locale/definitions.ts. .github/transifex.yml already maps da_DK: da-DK.
  • The locale build regenerates web/src/locale-codes.ts.

Why is this change needed?

Danish is fully translated on Transifex, save for strings that have been added in the past few weeks - about 98% translated as of this PR. Both catalogs are already in the tree: web/xliff/da-DK.xlf (renamed in #26735) and locale/da_DK/ (#26340, compiled in #26364). The registry still had Danish at ship: false, carried over from the #24563 inventory, where it stood at 0.6%.

How was this tested?

  • make ci-lint-locales, make web-check and make web-check-compile pass.
  • make test authentik/root/tests/test_locales.py passes, including Danish in test_shipped_catalogs_load.
  • pnpm --dir web run build-locales compiles da-DK. Its 48 missing strings were added upstream while Danish was unshipped; the extract bot fills them in after merge.

Linked issues

refs #24563. This follows the registry process from #26735, the same way #24788 enabled Bengali.

AI disclosure

The Danish translations were drafted with Claude Code (Anthropic's Claude) against a glossary I set, and I reviewed and edited a calibration batch and verified a QA report before uploading them to Transifex. I am a native Danish speaker. This PR's change was also made with assistance from Claude Code, but human-reviewed and edited.


Checklist

  • The project has been linted, built, and tested - relevant checks pass, though make all was not run locally
  • The documentation has been updated and formatted (make docs) - no docs changes needed
  • I have read the AI usage policy.
@asbjoern-navio
asbjoern-navio requested review from a team as code owners October 8, 2026 10:49
@asbjoern-navio asbjoern-navio changed the title web: enable danish (da-DK) locale Oct 8, 2026
@netlify

netlify Bot commented Oct 8, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 52ccd7e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ac7751e46d82c0009a350a0
😎 Deploy Preview https://deploy-preview-26776--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant