Skip to content

Feature: Web-based Translation Statistics Dashboard #1719

@AkTech3628

Description

@AkTech3628

Problem: The original issue #1502 requests a command to report translation statistics. A command-line report might be limited in visualization and interactivity.

Proposed Solution: Develop a web-based dashboard using Node.js, Express.js, HTML, CSS, and JavaScript to provide a rich and interactive visualization of translation statistics for lingo.dev.

Technical Details:

  • Backend (Node.js/Express.js):
    • An API endpoint (/translation-stats) to collect and process translation data (e.g., from source files, a database, or existing translation logs).
    • Aggregate data to generate various metrics (e.g., total strings, translated strings per language, translation progress, untranslated count, errors).
    • Could use MongoDB to store historical translation data for trend analysis or to cache aggregated statistics.
  • Frontend (HTML/CSS/JS):
    • A dashboard interface built with HTML, styled with CSS, and made interactive with JavaScript.
    • Display key statistics using charts (e.g., bar charts for language coverage, pie charts for completion status) and tables.
    • Allow users to filter by language, date range, or other criteria.
    • Provide a clear, at-a-glance overview of the translation health of the project.
    • Benefits:
      • Enhanced visualization and interactivity compared to a command-line report.
      • Easier tracking of translation progress and identification of bottlenecks.
      • Improved collaboration among translators and developers.
    • Reference: This solution extends the idea presented in issue [Feature] Translation Statistics Report Command #1502.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions