feat(i18n): translate src/content/learn/adding-interactivity.md from English to Vietnamese by KotonoSora · Pull Request #471 · reactjs/vi.react.dev
🇻🇳 Vietnamese Translation: Adding Interactivity
Hi! I'm starting as a volunteer translator for vi.react.dev, and this is my first contribution.
What's included
- Vietnamese translation of
src/content/learn/adding-interactivity.md - Preserved all code examples and markdown formatting
- Maintained consistency with existing Vietnamese translations
Changes
- ✅ Translated the complete guide covering React interactivity concepts
- ✅ Kept technical terminology consistent
- ✅ Verified all links and formatting work properly
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: "Adding Interactivity" → "Thêm Tính Tương Tác"
Các phần chính:
"Responding to events" → "Phản hồi sự kiện"
"State: a component's memory" → "State: bộ nhớ của component"
"Render and commit" → "Render và commit"
"State as a snapshot" → "State như một snapshot"
"Queueing a series of state updates" → "Xếp hàng đợi một chuỗi cập nhật state"
"Updating objects in state" → "Cập nhật object trong state"
"Updating arrays in state" → "Cập nhật array trong state"
"What's next?" → "Tiếp theo là gì?"
Code examples đã được dịch:
Alert messages: 'Playing!' → 'Đang phát!', 'Uploading!' → 'Đang tải lên!'
Button text: 'Play Movie' → 'Phát Phim', 'Upload Image' → 'Tải Lên Ảnh'
Gallery controls: 'Next' → 'Tiếp theo', 'Hide/Show' → 'Ẩn/Hiện'
Form labels: 'Name' → 'Tên', 'Title' → 'Tiêu đề', 'City' → 'Thành phố'
Chat app: 'Send' → 'Gửi', 'Message' → 'Tin nhắn'
Counter: 'Score' → 'Điểm số'
Art Bucket List titles và descriptions
Tuân thủ quy tắc dịch:
Giữ nguyên các thuật ngữ kỹ thuật: Component, Hook, Props, Function, State, Render
Dịch các thuật ngữ user-facing: Application → Ứng dụng, Event → Sự kiện
Sử dụng văn phong kỹ thuật phù hợp cho tiếng Việt
Dịch tất cả LearnMore sections và liên kết nội bộ