Skip to content

[Feature Request] Add i18n support / Chinese localization #1219

Description

@MLYR

Is your feature request related to a problem? Please describe.

CodeBurn is a great local tool for tracking AI coding token usage, but the UI (CLI output and the local dashboard) is hardcoded in English only. It is quite popular among Chinese developers, and a localized version would make it much more accessible to them.

Describe the solution you would like

Add internationalization support:

  • Extract user-facing strings from src/ and dash/src/ into resource files
  • Support a --lang / config option (e.g. LANG env or codeburn config set lang zh-CN)
  • Ship at least en and zh-CN (Simplified Chinese) locales
  • Apply to both the CLI/Ink UI and the web dashboard

Describe alternatives you have considered

  • A third-party translation patch fork (fragile, hard to maintain)
  • Keeping it English-only (fine, but limits adoption)

Additional context

  • The codebase currently has no i18n library (no i18next / react-i18next in dependencies)
  • Happy to help with implementation / PR review if the maintainers are open to it

I am happy to submit a PR if the direction is agreed. Thanks for the great tool!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions