Skip to content

[FEATURE] Add internationalization support via GNU Gettext #7

@AnmiTaliDev

Description

@AnmiTaliDev

Description

Add internationalization (i18n) support using GNU Gettext to enable multi-language support in the application.

Use case

The application currently supports only one language, limiting its accessibility to non-English speaking users. GNU Gettext is an industry-standard solution that would allow developers to mark translatable strings and provide translations for different locales, making the application accessible to a global audience.

Proposed solution

  • Integrate GNU Gettext library into the project
  • Wrap user-facing strings with gettext functions (gettext(), ngettext(), etc.)
  • Extract translatable strings into .pot template files
  • Create .po files for each supported language
  • Compile .po files to .mo binary files for runtime use
  • Add locale detection and switching mechanism based on system settings

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions