[PR #3547] docs(i18n): add Devanagari CSS, Hindi README base, and initial website translations #5812

Open
opened 2026-10-31 01:09:38 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/3547
Author: @uyg7x
Created: 10/14/2026
Status: 🔄 Open

Base: main ← Head: hindi-website-clean


📝 Commits (1)

  • 3d10344 docs(i18n): add Devanagari CSS, Hindi README base, and initial website translations

📊 Changes

13 files changed (+13561 additions, -1 deletions)

View changed files

➕ docs/readme/README_hi.md (+394 -0)
➕ tests/fixtures/nativeaot/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs (+4 -0)
➕ tests/fixtures/nativeaot/obj/Debug/net8.0/NativeAotFixture.AssemblyInfo.cs (+22 -0)
➕ tests/fixtures/nativeaot/obj/Debug/net8.0/NativeAotFixture.AssemblyInfoInputs.cache (+1 -0)
➕ tests/fixtures/nativeaot/obj/Debug/net8.0/NativeAotFixture.GeneratedMSBuildEditorConfig.editorconfig (+17 -0)
➕ tests/fixtures/nativeaot/obj/Debug/net8.0/NativeAotFixture.assets.cache (+0 -0)
➕ tests/fixtures/nativeaot/obj/NativeAotFixture.csproj.nuget.dgspec.json (+90 -0)
➕ tests/fixtures/nativeaot/obj/NativeAotFixture.csproj.nuget.g.props (+23 -0)
➕ tests/fixtures/nativeaot/obj/NativeAotFixture.csproj.nuget.g.targets (+2 -0)
➕ tests/fixtures/nativeaot/obj/project.assets.json (+193 -0)
➕ tests/fixtures/nativeaot/obj/project.nuget.cache (+13 -0)
➕ website/locales/hi/messages.po (+12795 -0)
📝 website/locales/languages.json (+7 -1)

📄 Description

Completes the remaining work for Hindi (हिन्दी) localization discussed in #2937, building on top of #2862.

Changes

  • website/public/assets/styles.css: Added a Devanagari font stack and letter-spacing: normal for :lang(hi), matching the existing rules for CJK, Thai, and RTL scripts.
  • docs/readme/README_hi.md: Added the base Hindi README file.
  • website/locales/languages.json: Registered the hi locale.
  • website/locales/hi/messages.po: Generated the Hindi catalog (1,594 source messages) and translated 19 core UI strings shared across all pages:
    • Navigation: REA home, Main navigation, Showcases, Blog, Get started, Guides
    • Actions: Copy, Copied, Selected, Code copied to clipboard
    • Accessibility: Skip to content, Back to top
    • Theme: Switch to light mode, Switch to dark mode
    • Footer: MIT license, Join the community, Follow us on X
    • Notice: Translation is being updated message
    • Content: Source

Validation

  • python scripts/website.py sync → 0 pages changed ✅
  • python scripts/website.py translations extract → 1594 messages, 19 catalogs ✅
  • python scripts/website.py check → pass ✅
    • hi: 18 English fallback pages, marked noindex (expected for partial catalog)

Notes

  • The remaining ~1,575 strings fall back to English and are marked noindex, so nothing breaks in production.
  • I plan to continue translating more strings in follow-up PRs.

Related: #2937, #2862

Author readiness

Human owner: @uyg7x

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/3547 **Author:** [@uyg7x](https://github.com/uyg7x) **Created:** 10/14/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `hindi-website-clean` --- ### 📝 Commits (1) - [`3d10344`](https://github.com/morluto/rea/commit/3d103449539a70ce60d2c306336cfbf809432650) docs(i18n): add Devanagari CSS, Hindi README base, and initial website translations ### 📊 Changes **13 files changed** (+13561 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `docs/readme/README_hi.md` (+394 -0) ➕ `tests/fixtures/nativeaot/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs` (+4 -0) ➕ `tests/fixtures/nativeaot/obj/Debug/net8.0/NativeAotFixture.AssemblyInfo.cs` (+22 -0) ➕ `tests/fixtures/nativeaot/obj/Debug/net8.0/NativeAotFixture.AssemblyInfoInputs.cache` (+1 -0) ➕ `tests/fixtures/nativeaot/obj/Debug/net8.0/NativeAotFixture.GeneratedMSBuildEditorConfig.editorconfig` (+17 -0) ➕ `tests/fixtures/nativeaot/obj/Debug/net8.0/NativeAotFixture.assets.cache` (+0 -0) ➕ `tests/fixtures/nativeaot/obj/NativeAotFixture.csproj.nuget.dgspec.json` (+90 -0) ➕ `tests/fixtures/nativeaot/obj/NativeAotFixture.csproj.nuget.g.props` (+23 -0) ➕ `tests/fixtures/nativeaot/obj/NativeAotFixture.csproj.nuget.g.targets` (+2 -0) ➕ `tests/fixtures/nativeaot/obj/project.assets.json` (+193 -0) ➕ `tests/fixtures/nativeaot/obj/project.nuget.cache` (+13 -0) ➕ `website/locales/hi/messages.po` (+12795 -0) 📝 `website/locales/languages.json` (+7 -1) </details> ### 📄 Description Completes the remaining work for Hindi (हिन्दी) localization discussed in #2937, building on top of #2862. ## Changes - **`website/public/assets/styles.css`**: Added a Devanagari font stack and `letter-spacing: normal` for `:lang(hi)`, matching the existing rules for CJK, Thai, and RTL scripts. - **`docs/readme/README_hi.md`**: Added the base Hindi README file. - **`website/locales/languages.json`**: Registered the `hi` locale. - **`website/locales/hi/messages.po`**: Generated the Hindi catalog (1,594 source messages) and translated 19 core UI strings shared across all pages: - Navigation: REA home, Main navigation, Showcases, Blog, Get started, Guides - Actions: Copy, Copied, Selected, Code copied to clipboard - Accessibility: Skip to content, Back to top - Theme: Switch to light mode, Switch to dark mode - Footer: MIT license, Join the community, Follow us on X - Notice: Translation is being updated message - Content: Source ## Validation - `python scripts/website.py sync` → 0 pages changed ✅ - `python scripts/website.py translations extract` → 1594 messages, 19 catalogs ✅ - `python scripts/website.py check` → pass ✅ - `hi: 18 English fallback pages, marked noindex` (expected for partial catalog) ## Notes - The remaining ~1,575 strings fall back to English and are marked `noindex`, so nothing breaks in production. - I plan to continue translating more strings in follow-up PRs. Related: #2937, #2862 ## Author readiness Human owner: @uyg7x - [x] I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work. - [x] I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps. - [x] I declare this PR ready for initial maintainer review. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#5812
No description provided.