Translate the following text to English. ONLY return the translated text and nothing…
- User
Translate the following text to English. ONLY return the translated text and nothing else.
feat(产品): 新增产品网站字段并支持多语言翻译
在
Product模型中新增website字段,允许产品关联外部网站。同时,为title、description和content字段添加多语言支持,包括英文、简体中文和繁体中文。更新了管理员界面以更好地展示这些字段,并添加了迁移脚本以将现有数据复制到多语言字段中。 - Assistant
feat(product): Add product website field and support multilingual translation
Added a
websitefield to theProductmodel to allow products to be associated with external websites. Meanwhile, added multilingual support for thetitle,description, andcontentfields, including English, Simplified Chinese, and Traditional Chinese. Updated the admin interface to better display these fields and added migration scripts to copy existing data into the multilingual fields.