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:
Your Name committed 2026-09-25 04:41:06 +07:00
1 parent 0bc28ec190
commit 049203de29
6 files changed
+186 -7

No files matched your search

+12 -2
View File
@@ -75,7 +75,7 @@ Payload หลักจะต้องเป็น **JSON Array** ของส
---
### แบบที่ 3: รองรับหลายภาษา (Multilingual)
### แบบที่ 3: รองรับหลายภาษา (Multilingual - รองรับ 8 ภาษา: th, en, ja, zh, vi, ko, lo, it)
สามารถใส่ข้อความหลายภาษาใน `translations` หรือใส่เป็น Object ที่ฟิลด์ `name`, `description`, `details` ได้โดยตรง:
```json
@@ -96,6 +96,16 @@ Payload หลักจะต้องเป็น **JSON Array** ของส
"name": "Eucalyptus Pure Essential Oil 100%",
"description": "Refreshes breathing and clarifies the mind.",
"details": "Size: 10ml"
},
"ja": {
"name": "ユーカリ 100% ピュア エッセンシャルオイル",
"description": "クリアで清涼感あふれる香りが呼吸をスムーズに整えます。",
"details": "容量: 10ml"
},
"zh": {
"name": "尤加利 100% 纯天然单方精油",
"description": "清爽提神的天然尤加利香气,畅通呼吸,净化空气。",
"details": "规格: 10ml"
}
}
}
@@ -121,7 +131,7 @@ Payload หลักจะต้องเป็น **JSON Array** ของส
| `images` | `array` | ไม่ | รายการรูปภาพ (รองรับทั้ง Array URL `["https://..."]` หรือ `[{"url": "...", "order": 0}]`) |
| `options` | `array` | ไม่* | รายการตัวเลือก สูงสุด 3 ตัวเลือก เช่น `[{"name": "ขนาด", "values": ["10ml", "30ml"]}]` |
| `variants` | `array` | ไม่* | รายการสินค้าย่อย โดย `option1`, `option2`, `option3` จะแมปตามลำดับของ `options` |
| `translations` | `object` | ไม่ | แผนที่ภาษา เช่น `{"th": {...}, "en": {...}, "ja": {...}}` |
| `translations` | `object` | ไม่ | แผนที่ภาษา รองรับ 8 ภาษา: `th`, `en`, `ja`, `zh`, `vi`, `ko`, `lo`, `it` เช่น `{"th": {...}, "en": {...}, "ja": {...}, ...}` |
---