Skip to content

Conversation

@spaenleh
Copy link
Member

@spaenleh spaenleh commented Jan 29, 2026

In this PR:

  • setup a plug to handle locale from http and session
  • add a component that allows to change language via a dropdown
  • translate page footer and menus
  • upgrade daisyui.js and daisyui-theme.js (should probably be broken out to a different PR)
  • add a /locale debug page to see which locale is in use and what are the values from the headers and from the session. It allows to change locale and remove locale.

ref #131

Still to do:

Translate the page texts, this poses a challenge since we have a lot of bolded text in there... We can:

  • add tags to the translations and display the values with raw but not very safe and could easily be lost in the translations or have bugs where part of the tag is missing.
  • remove most of the highlights and where they are absolutely necessary, make custom bits of text (ugly and adds translations that lack context)
  • something else ?

@spaenleh spaenleh changed the title fix: add translations feat: add translations and locale to landing Jan 29, 2026
@spaenleh spaenleh requested a review from pyphilia January 29, 2026 08:03
@spaenleh spaenleh self-assigned this Jan 29, 2026
@spaenleh spaenleh added the feature New feature or request label Jan 29, 2026
@spaenleh spaenleh force-pushed the locale-lang branch 2 times, most recently from 93b1ba2 to 277322a Compare January 29, 2026 10:19
Copy link
Contributor

@pyphilia pyphilia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR! I think you will update again so I can review again after 🍽️

@spaenleh spaenleh merged commit a951a89 into main Jan 29, 2026
3 checks passed
@spaenleh spaenleh deleted the locale-lang branch January 29, 2026 14:31
@graasper graasper mentioned this pull request Jan 29, 2026
@spaenleh spaenleh mentioned this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request v0.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants