Skip to content

feat(i18n): translate src/content/learn/preserving-and-resetting-state.md from English to Vietnamese #479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KotonoSora
Copy link
Contributor

@KotonoSora KotonoSora commented Jun 8, 2025

🇻🇳 Vietnamese Translation: Preserving and Resetting State

Hi! I'm contributing as a volunteer translator for vi.react.dev, and this PR adds the Vietnamese translation for the "Preserving and Resetting State" lesson.

What's included

  • Vietnamese translation of preserving-and-resetting-state.md
  • Preserved all code examples and markdown formatting
  • Kept terminology consistent with existing translations

Changes

  • ✅ Fully translated the guide covering React state preservation and resetting
  • ✅ Maintained code blocks, links, Sandpack components and Challenge/Solution sections
  • ✅ Verified all internal links and formatting render correctly

Looking forward to contributing more translations to the project! 🚀


Tóm tắt những gì đã được dịch:

Tiêu đề và phần Intro:
"Preserving and Resetting State" → "Bảo tồn và đặt lại State"

Các phần chính:

  • "The UI tree" → "Cây UI"
  • "State is tied to a position in the tree" → "State gắn liền với vị trí trong cây"
  • "Same component at the same position preserves state" → "Cùng component ở cùng vị trí bảo tồn state"
  • "Different components at the same position reset state" → "Các component khác nhau ở cùng vị trí đặt lại state"
  • "Resetting state at the same position" → "Đặt lại state ở cùng vị trí"
  • "Option 1: Rendering a component in different positions" → "Tùy chọn 1: Render component ở các vị trí khác nhau"
  • "Option 2: Resetting state with a key" → "Tùy chọn 2: Đặt lại state với key"
  • "Resetting a form with a key" → "Đặt lại form với key"

Phần Challenges:

  • "Fix disappearing input text" → "Sửa lỗi text input biến mất"
  • "Swap two form fields" → "Hoán đổi hai trường form"
  • "Reset a detail form" → "Đặt lại form chi tiết"
  • "Clear an image while it's loading" → "Xóa hình ảnh khi đang tải"
  • "Fix misplaced state in the list" → "Sửa state bị đặt sai vị trí trong danh sách"

Copy link

vercel bot commented Jun 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
vi-legacy-reactjs-org ⬜️ Ignored (Inspect) Visit Preview Jun 8, 2025 2:26am

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.

1 participant