docs: enrich all 4 LLM prompts and import guides with complete 8-language multilingual support (th, en, ja, zh, vi, ko, lo, it)
This commit is contained in:
1 parent
0bc28ec190
commit
049203de29
6 files changed
+186
-7
No files matched your search
@@ -26,7 +26,16 @@
|
||||
3. **Product Types:**
|
||||
- **Simple Product (สินค้าเดี่ยว):** ใส่ `price`, `stock`, `sku`, `barcode` ที่ระดับบนสุด ระบบจะแปลงเป็น Base Variant ในฐานข้อมูลให้อัตโนมัติ
|
||||
- **Variable Product (สินค้ามีตัวเลือก ไซส์/สี/ขนาด):** กำหนด `options` (เช่น `[{"name": "ขนาด", "values": ["S", "M"]}]`) และใน `variants` ต้องมี `option1` ตรงกับค่าใน `values` ทุกตัวอักษร
|
||||
4. **Bilingual (2 ภาษา):** มีฟิลด์ `translations` ครบทั้ง `th` และ `en` สำหรับ `name`, `description`, `details`
|
||||
4. **Multilingual (รองรับครบ 8 ภาษา):** ระบบรองรับการแปลภาษาผ่านฟิลด์ `translations` ครบทั้ง 8 ภาษามาตรฐานของระบบ:
|
||||
- `th` (ไทย - ภาษาหลัก)
|
||||
- `en` (English - สากล)
|
||||
- `ja` (日本語 - ญี่ปุ่น)
|
||||
- `zh` (简体中文 - จีนตัวย่อ)
|
||||
- `vi` (Tiếng Việt - เวียดนาม)
|
||||
- `ko` (한국어 - เกาหลี)
|
||||
- `lo` (ພາສາລາວ - ลาว)
|
||||
- `it` (Italiano - อิตาลี)
|
||||
ในแต่ละภาษากำหนด `name`, `description`, `details` ให้สอดคล้องกัน (สามารถสั่งให้ LLM แปลครบทั้ง 8 ภาษา หรือเลือกเฉพาะภาษาเป้าหมายที่ต้องการได้)
|
||||
5. **Images:** กำหนดเป็น Array ของ URL รูปภาพจริง เช่น จาก Unsplash หรือ CDN
|
||||
|
||||
---
|
||||
|
||||
Reference in new issue
Block a user