mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-05-09 08:25:29 +02:00
[GH-ISSUE #90] Language Selection Improvements for Kiosk Mode #46
Labels
No labels
bug
enhancement
pull-request
question
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/unifi-voucher-site#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @berg-maia on GitHub (Aug 23, 2025).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/90
Originally assigned to: @glenndehaan on GitHub.
The feature
With the increasing number of supported languages in Kiosk mode, it would be great to enhance the flexibility and user experience of the language selection feature. Here's what I'm proposing:
Allow the list of available languages to be defined in environment/options.json. This way, we can control which languages are shown in the kiosk interface without code changes.
If only one language is defined in the configuration, the language selection dropdown should be hidden, as it becomes redundant in that case.
To make the language selection more intuitive and visually appealing, it would be nice to display country flags as icons next to (or instead of) the language names.
@glenndehaan commented on GitHub (Aug 26, 2025):
Hi @berg-maia,
Sorry for the delay, had some pretty busy days.
Will put the changes on the planning for the v8 release.
One thing I will change is the settings to control the languages.
I will basically change it from a whitelist to a blacklist for prevent confusion from users who would otherwise miss languages when they are added but the config prevent it from showing.
Kind regards,
Glenn de Haan
@glenndehaan commented on GitHub (Aug 27, 2025):
Hi @berg-maia,
All requested features are now available within version 8.0.0 (https://github.com/glenndehaan/unifi-voucher-site/releases/tag/8.0.0).
Ensure to read the migration documentation before upgrading.
Configuration works as follows:
Below is an example of the language dropdown now with flags:
@berg-maia commented on GitHub (Aug 28, 2025):
thanks mate