Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Translation Support #61

Open
Ale1x opened this issue May 13, 2024 · 1 comment
Open

[FEATURE REQUEST] Translation Support #61

Ale1x opened this issue May 13, 2024 · 1 comment
Milestone

Comments

@Ale1x
Copy link

Ale1x commented May 13, 2024

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!

@svilenmarkov
Copy link
Member

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.

@svilenmarkov svilenmarkov added this to the Backlog milestone May 15, 2024
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

No branches or pull requests

2 participants