glance
glance copied to clipboard
[FEATURE REQUEST] Translation Support
Hi team,
I’m a user of glance and I find it incredibly useful. To further improve its accessibility and user experience, I would like to request the addition of translation support.
Benefits of Adding Translations:
- Broader Reach: Enable users from around the world to use the app in their native language.
- Improved User Experience: Enhance usability by allowing users to interact in their preferred language.
- Community Engagement: Encourage a more diverse and inclusive user community.
- Increased Adoption: Potentially attract more users by supporting multiple languages.
Implementation Overview
- Internationalization (i18n) Library: Integrate an i18n library such as go-i18n to handle translations.
- Translation Files: Create JSON or YAML files for each supported language, containing key-value pairs for all translatable strings.
- Language Selection: Add a mechanism for users to select their preferred language, either via a config option or by detecting the browser's language settings.
- Dynamic Loading: Load the appropriate translation file based on the user's language selection and update the UI accordingly.
- Fallback Mechanism: Implement a fallback to the default language (e.g., English) for any missing translations.
I believe that adding translations for languages like Italian, Spanish, French, and German could greatly benefit the app.
Thank you for considering this feature request!
Hey,
Completely valid points and I understand that it is to an extent a basic feature that should be available universally, though in all honesty it's not something that I'd like to focus on for now. I'd be happy to come back to this when Glance becomes more mature and stable.