Skip to content

Conversation

@struan
Copy link
Member

@struan struan commented Nov 18, 2025

This adds a language switcher based on the hostname. Currently this only supports Welsh and will switch the language/locale to cy_GB.UTF-8 if the subdomain is 'cy'.

Also includes some docker/packages changes to enable multi lingual things in php plus a utility script to generate translation files etc.

Fixes #515
Fixes #521

@struan struan requested a review from dracos November 18, 2025 13:57
Copy link
Member

@dracos dracos left a comment

Choose a reason for hiding this comment

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

Looks good, some minor queries

@struan struan requested a review from dracos November 24, 2025 11:21
Copy link
Member

@dracos dracos left a comment

Choose a reason for hiding this comment

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

Sorry one thing due to the fixup

@struan struan force-pushed the 515-language-switcher branch from b3ebf3a to 420ada1 Compare November 25, 2025 10:57
@struan
Copy link
Member Author

struan commented Nov 25, 2025

merged into staging branch

@struan struan closed this Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add translation file generation/updating scripts add language detction/swapping mechanism

3 participants