Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions MAINTAINER_RESTART_2026.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Lao React Documentation — Maintainer Restart Plan (November 2026)

This is a working checklist for resuming maintenance of the official [Lao React documentation](https://github.com/reactjs/lo.react.dev). It does not claim that the translation percentages or checks are currently verified.

## Verified starting point (10 November 2026)

- Official repository: `reactjs/lo.react.dev`; fork: `TheBrown/lo.react.dev`.
- The fork's `main` matched the official `main` when checked on 10 November 2026.
- Last merged official commit seen: 14 April 2026.
- The official repository has bot-created upstream synchronization PRs through [#192](https://github.com/reactjs/lo.react.dev/pull/192) (9 November 2026).
- PR #192 was reported mergeable, but touches **153 files** and includes a substantial conflict/translation-review checklist. Mergeability alone is not translation quality or build verification.
- [Translation Progress #1](https://github.com/reactjs/lo.react.dev/issues/1) was last updated in 2023. It identifies @TheBrown as maintainer and contains completed as well as unclaimed/untranslated pages.
- The public translation progress percentages should be treated as historical until the checklist and actual page content have been re-audited.

## Phase 1 — Preserve and assess

- [ ] Do **not** merge all accumulated sync or dependency PRs automatically.
- [ ] Record a backup tag/branch at the current official `main` before any large synchronization.
- [ ] Check whether newer sync PRs supersede older sync PRs; determine which can be closed as redundant only after review.
- [ ] Inspect PR #192 changes in code, dependencies, navigation, MDX, and documentation, paying particular attention to the conflicts listed in its description.
- [ ] Identify any existing Lao text potentially replaced by English during sync. Preserve translation work and review regressions.
- [ ] Verify a reproducible local development environment and run install, `yarn check-all`, `yarn build`, and manual page smoke tests on a testing branch. Review the diff after `yarn check-all` because the command changes files.
- [ ] Check dependency/security alerts; address separately with tests, rather than bundling risky dependency upgrades with translation edits.

## Phase 2 — Restore a credible translation tracker

- [ ] Compare [progress issue #1](https://github.com/reactjs/lo.react.dev/issues/1) against actual localized content in `src/content`, not only the checked boxes.
- [ ] Mark pages as translated only if the current Lao content is genuinely translated, linked correctly, and readable.
- [ ] Distinguish translated-but-needs-review, untranslated, stale-from-upstream, and ready.
- [ ] Refresh the checklist for React docs added since the original 2023 tracker. Keep the translation project's required checklist markers intact so its tracking integration continues to work.
- [ ] Set up a Lao terminology/style glossary (e.g., state, props, component, hook, effect, render); agree terminology before translating many pages.
- [ ] Publish one clear contributor workflow: claim one page in the tracker, work on a branch, preserve Markdown/MDX semantics, submit a small PR, get a language/technical review.

## Phase 3 — Resume translation sustainably

Suggested first topic: **Managing State** in Learn React, because it continues the translated introductory material.

- [ ] Start with [Reacting to Input with State](https://react.dev/learn/reacting-to-input-with-state), already claimed under @TheBrown in the original tracker, and confirm its current translated status before editing.
- [ ] Continue with **Choosing the State Structure**, **Sharing State Between Components**, and other Managing State pages one at a time.
- [ ] Keep code identifiers, API names, JSX, MDX components, links, and runnable examples intact; translate explanatory copy and suitable alt text.
- [ ] Validate each PR's rendering on mobile and desktop, including Lao typography and layout.
- [ ] Avoid counting partially translated or copied-English pages as complete.

## Lightweight operating cadence

- **Weekly (15–30 min):** triage bot sync PRs, new contributor PRs/issues, and build/security failures.
- **Monthly:** merge a reviewed, small batch; update the tracker and glossary; publish a short progress note.
- **Quarterly:** compare a sampled set of pages against upstream react.dev and review deployment/readability.

## Merge and deployment policy

No automatic merge of translation syncs, major dependency updates, or translated pages. The maintainer reviews the diff and checks, then approves the merge and publication. This document is an operational plan, not authorization to change the official repository.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This repo contains the source code and documentation powering [lo.react.dev](htt
### Prerequisites

1. Git
1. Node: any 12.x version starting with v12.0.0 or greater
1. Node.js 18.18 or later (required by the current Next.js 15 setup; an active LTS release such as Node.js 22 is recommended)
1. Yarn: See [Yarn website for installation instructions](https://yarnpkg.com/lang/en/docs/install/)
1. A fork of the repo (for any contributions)
1. A clone of the [lo.react.dev repo](https://github.com/reactjs/lo.react.dev) on your local machine
Expand Down Expand Up @@ -39,7 +39,7 @@ The documentation is divided into several sections with a different tone and pur
1. Follow the ["Running locally"](#running-locally) instructions
1. Save the files and check in the browser
1. Changes to React components in `src` will hot-reload
1. Changes to markdown files in `content` will hot-reload
1. Changes to Markdown files in `src/content` will hot-reload
1. If working with plugins, you may need to remove the `.cache` directory and restart the server

### Test the change
Expand All @@ -57,7 +57,14 @@ The documentation is divided into several sections with a different tone and pur

## Translation

If you are interested in translating `lo.react.dev`, please see the current translation efforts [here](https://github.com/reactjs/lo.react.dev/issues/1).
The Lao documentation is a community translation of [react.dev](https://react.dev/).

- **Translation progress and page claims:** [Lao Translation Progress (#1)](https://github.com/reactjs/lo.react.dev/issues/1). Before starting, check the checklist and comments, and claim **one page at a time**.
- **2026 maintainer restart:** See [MAINTAINER_RESTART_2026.md](./MAINTAINER_RESTART_2026.md) for a safe sequence to review accumulated source-sync pull requests, verify existing translations, refresh the progress tracker, and resume contributions.
- **Upstream synchronization:** Auto-generated PRs from `react-translations-bot` are proposals, not a guarantee that translations remain correct. Review MDX/translation conflicts and run checks before merging.
- **Content files:** Translation pages live under `src/content`. Preserve MDX components, executable examples, frontmatter, anchors, and links when translating.

To check a contribution locally, run `yarn check-all` and `yarn build`. Note that `check-all` includes automatic formatting and lint fixes, so review the resulting diff before committing.

## License
Content submitted to [lo.react.dev](https://lo.react.dev/) is CC-BY-4.0 licensed, as found in the [LICENSE-DOCS.md](https://github.com/reactjs/lo.react.dev/blob/main/LICENSE-DOCS.md) file.
Loading