Skip to content

✨ feat: Support Localization and i18n #51

@evolvewithevan

Description

@evolvewithevan

✨ feat: Support Localization and i18n

Overview

Introduce support for localization (i18n) to make the bot accessible to a broader, global audience.

Goals

  • Enable language switching per-user or per-server
  • Externalize strings from code into translatable files (e.g. .po, .json, .yaml)
  • Lay groundwork for community contributions of translations

Implementation Ideas

  • Use gettext, Babel, or python-i18n (or suggest better libs)
  • Create a language manager cog to handle language preferences
  • Add fallback behavior for untranslated strings

Tasks

  • πŸ“ Extract all hardcoded user-facing strings
  • 🧠 Choose and implement a localization library
  • πŸ”„ Add command to set preferred language
  • 🌐 Create at least one additional language file (e.g., Spanish)
  • πŸ§ͺ Write tests for language fallback behavior
  • πŸ“š Update docs to explain how to add new translations

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions