ข้ามไปที่เนื้อหา

นับการเปิดหน้าและการคลิกโปรเจกต์ด้วย PostHog (เซิร์ฟเวอร์ EU) ไหม โหลดเมื่อคุณกดอนุญาตเท่านั้น ความเป็นส่วนตัว

Translation live preview
โปรเจกต์ทั้งหมด

Translation

Show a simple English-Thai lookup flow before choosing a real translation service.

Serving English and Thai readers means translating content, and per-call translation APIs get expensive.

Tech Domain · Book Dev|เผยแพร่แล้ว|หลักฐาน: ต้นแบบ|Next.js, TypeScript

มีต้นแบบสาธารณะเพื่อแสดง interaction โดยจำกัดขอบเขตและข้อมูลไว้อย่างชัดเจน

กรณีศึกษา

ก่อนใช้งาน

Bilingual content needs a translation step, and paid machine-translation APIs cost money per call.

หลังใช้งาน

Translation on the App shell: type the mapped words and see them swapped between English and Thai; unknown words pass through unchanged and are listed.

วิธีแก้ปัญหา

Built a language desk that maps words through an eight-word English-Thai dictionary in the browser, with an EN to TH / TH to EN switch, a swap of direction and text, a list of unknown words, and tap-to-add chips for the words it knows.

สิ่งที่ยังไม่แก้

Dictionary lookup only: no translation API, translation memory or batch processing.

บทความที่เกี่ยวข้อง

อ่านเพิ่มเติมในหัวข้อที่เกี่ยวข้องจากบล็อก

โปรเจกต์ที่เกี่ยวข้อง

เพิ่มเติมใน Tech Domain · Book Dev