Skip to content

docs(i18n): make README English-source, split PT into README.pt-BR.md - #468

Merged
MarkSant merged 3 commits into
mainfrom
docs/readme-english-split
Aug 15, 2026
Merged

docs(i18n): make README English-source, split PT into README.pt-BR.md#468
MarkSant merged 3 commits into
mainfrom
docs/readme-english-split

Conversation

@MarkSant

Copy link
Copy Markdown
Owner

Summary

CLAUDE.md declares English as the source language for technical docs ("Technical docs are English; docs/wiki/ keeps Portuguese alongside the English pages"), but README.md — the repo's GitHub entry point — was never migrated and stayed entirely in Portuguese. This is the fourth, independent front of the ongoing i18n consolidation (does not depend on or touch files from the parallel session fixing stale UI labels in docs/wiki/, docs/guides/user/, docs/tutorials/).

  • README.md is now the English original — a complete, faithful translation of the previous Portuguese content (no sections cut or summarized).
  • README.pt-BR.md preserves the previous Portuguese content in full, with a link back to the English README at the top.
  • Both files cross-link to each other at the top (badge-style line under the title).
  • UI labels quoted in the README (tab names: Main Control, Zone Configuration, Video Analysis, Processing and Reports, Advanced Settings, Experiment Progress; Arduino Dashboard) were verified against the real msgids in src/zebtrack/locales/pt_BR/LC_MESSAGES/zebtrack.po (via tab_builder.py / analysis_widgets.py / arduino_dashboard.py), not translated by eye — all matched the existing Portuguese wording exactly.
  • docs/wiki/INDEX.md translated to English (the Portuguese lives in the individual wiki pages per the docs/wiki/ convention, not the index itself). File names in links (1_Installation.md, 2_Full_Tutorial.md, etc.) are unchanged.
  • docs/INDEX.md: fixed **Version:** 4.1.04.0.0 to match pyproject.toml (still 4.0.0), rather than inventing a new number.

Out of scope (flagged, not touched)

  • The version-4.0.0 badge in README.md/README.pt-BR.md and the pyproject.toml version itself — separate release chore.
  • Several docs/ links in the README's "Full Documentation" section point at pre-Diátaxis paths that no longer exist (e.g. docs/architecture/ARCHITECTURE.md, docs/guides/developer/DEVELOPER_GUIDE.md, README_TESTS.md). These were already broken before this split — preserved as-is in both language versions since fixing them is a content-accuracy task, not a translation task.

Test plan

  • pre-commit run --files README.md README.pt-BR.md docs/INDEX.md docs/wiki/INDEX.md — markdownlint and all other hooks pass.
  • Reread the new README.md end-to-end — no leftover Portuguese.
  • Line-count sanity check: README.pt-BR.md (860 lines) matches the original README.md (858 lines) plus the two added link lines — confirms it's a full copy, not a summary.
  • mypy . and the push hooks pass (worktree env sourced via scripts/wt-env.sh).

🤖 Generated with Claude Code

MarkSant and others added 2 commits August 15, 2026 15:18
CLAUDE.md declares English as the source language for technical docs, but
README.md was never migrated — it stayed the sole entry point in Portuguese.
README.md is now the English original; README.pt-BR.md preserves the full
Portuguese content, with cross-links between the two at the top. UI labels
referenced in the English README (tab names, Arduino Dashboard) were verified
against the pt_BR gettext catalogue rather than translated by eye.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
docs/wiki/INDEX.md was the last Portuguese-only index; translate it to
English per the docs/wiki convention (Portuguese lives in the individual
wiki pages, not the index). File paths in links are unchanged — only the
prose is translated.

docs/INDEX.md claimed version 4.1.0 but pyproject.toml is still 4.0.0;
align the two rather than inventing a new number (pyproject bump is a
separate release chore, out of scope here).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 15, 2026 18:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns repository entry-point documentation with the project’s i18n convention (English as the source language for technical docs), while preserving the full Portuguese README as a separate, linked variant.

Changes:

  • Migrates README.md to an English-source README and adds cross-linking to the Portuguese version.
  • Adds README.pt-BR.md as the full Portuguese counterpart (with cross-link back to English).
  • Translates docs/wiki/INDEX.md to English and corrects the version string in docs/INDEX.md.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
README.md English-source README with link to Portuguese version.
README.pt-BR.md Portuguese README counterpart with link back to English.
docs/wiki/INDEX.md English translation of the wiki index while keeping link targets unchanged.
docs/INDEX.md Version string corrected to match pyproject.toml.
Suppressed comments (2)

README.md:771

  • The README recommends using EventBus, but the project’s current event system is EventBusV2 (the legacy EventBus v1 was deleted). Updating the name here keeps the contribution guidelines aligned with the actual API.
- ✅ **Event-Driven**: prefer communication via `EventBus`

README.pt-BR.md:763

  • Aqui o guia recomenda comunicação via EventBus, mas o sistema de eventos atual é EventBusV2. Ajustar o nome evita confusão para contribuidores.
- ✅ **Event-Driven**: Prefira comunicação via `EventBus`

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md
v4.0 represents a fundamental rewrite of the system, focused on stability, maintainability, and performance:

- **🏗️ Event-Driven Architecture**: complete refactor to eliminate direct coupling between components
- Event system with `EventBus` for asynchronous communication
Comment thread README.pt-BR.md
A v4.0 representa uma reescrita fundamental do sistema com foco em estabilidade, manutenibilidade e performance:

- **🏗️ Arquitetura Event-Driven**: Refatoração completa para eliminar acoplamento direto entre componentes
- Sistema de eventos com `EventBus` para comunicação assíncrona
Copilot's PR review caught that the Contributing/Code Guidelines section
told contributors to use `EventBus`, but that class was removed —
EventBusV2 is the sole event bus (CLAUDE.md:383). Fix in both language
versions.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@MarkSant
MarkSant merged commit 195c0bd into main Aug 15, 2026
6 checks passed
@MarkSant
MarkSant deleted the docs/readme-english-split branch August 15, 2026 18:40
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

Successfully merging this pull request may close these issues.

2 participants