Skip to content

Commit 64a37b0

Browse files
committed
feature: Internationalize the home page
1 parent 44c60d3 commit 64a37b0

File tree

4 files changed

+269
-46
lines changed

4 files changed

+269
-46
lines changed

frontend/src/i18n/locales/en/common.json

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
},
5656
"dataCollection": {
5757
"title": "Data Collection",
58+
"description": "Create, import and manage datasets",
5859
"tabs": {
5960
"taskManagement": "Task Management",
6061
"taskExecution": "Execution Records",
@@ -256,6 +257,7 @@
256257
},
257258
"dataManagement": {
258259
"title": "Data Management",
260+
"description": "Create, import and manage datasets",
259261
"actions": {
260262
"createDataset": "Create Dataset",
261263
"edit": "Edit",
@@ -773,6 +775,7 @@
773775
"dataEvaluation": {
774776
"home": {
775777
"title": "Data Evaluation",
778+
"description": "Quality analysis, performance evaluation and bias detection",
776779
"createTask": "Create Evaluation Task",
777780
"searchPlaceholder": "Search task name...",
778781
"filters": {
@@ -976,6 +979,7 @@
976979
"dataAnnotation": {
977980
"home": {
978981
"title": "Data Annotation",
982+
"description": "Annotate and tag data",
979983
"tabs": {
980984
"tasks": "Annotation Tasks",
981985
"templates": "Annotation Templates"
@@ -1279,6 +1283,7 @@
12791283
},
12801284
"dataCleansing": {
12811285
"title": "Data Processing",
1286+
"description": "Data cleansing, processing and transformation",
12821287
"tabs": {
12831288
"taskList": "Task List",
12841289
"templateManagement": "Template Management"
@@ -1498,6 +1503,7 @@
14981503
},
14991504
"knowledgeBase": {
15001505
"title": "Knowledge Generation",
1506+
"description": "RAG-oriented knowledge base construction",
15011507
"home": {
15021508
"columns": {
15031509
"name": "Knowledge Base",
@@ -1755,6 +1761,7 @@
17551761
},
17561762
"operatorMarket": {
17571763
"title": "Operator Market",
1764+
"description": "Operator upload and management",
17581765
"home": {
17591766
"title": "Operator Market",
17601767
"actions": {
@@ -2072,6 +2079,7 @@
20722079
},
20732080
"synthesisTask": {
20742081
"title": "Data Synthesis",
2082+
"description": "Intelligent data synthesis and ratio",
20752083
"tabs": {
20762084
"tasks": "Synthesis Tasks",
20772085
"templates": "Instruction Templates"
@@ -2503,6 +2511,81 @@
25032511
"fetchFailed": "Failed to fetch data, please try again later"
25042512
}
25052513
},
2514+
"home": {
2515+
"hero": {
2516+
"subtitle": "AI Dataset Preparation Tool",
2517+
"title": "Building High-Quality AI Datasets",
2518+
"description": "From data management to knowledge generation, one-stop solution for enterprise AI data processing scenarios.",
2519+
"getStartedButton": "Get Started",
2520+
"chatAssistantButton": "Chat Assistant",
2521+
"checkingButton": "Checking...",
2522+
"dataOrchestrationButton": "Data Orchestration"
2523+
},
2524+
"sections": {
2525+
"featuresTitle": "Feature Modules"
2526+
},
2527+
"orchestrationHighlight": {
2528+
"title": "Data Orchestration - Visual Process Design",
2529+
"description": "Drag-and-drop design of complex data processing pipelines, making data flow more intuitive and efficient.",
2530+
"coreFeaturesTitle": "Core Features:",
2531+
"feature1": "Visual Process Designer",
2532+
"feature2": "Rich Data Processing Component Library",
2533+
"feature3": "Real-time Process Execution Monitoring",
2534+
"smartFeaturesTitle": "Smart Features:",
2535+
"smartFeature1": "Automatic data flow path optimization",
2536+
"smartFeature2": "Smart error detection and repair suggestions",
2537+
"smartFeature3": "Template-based process rapid reuse",
2538+
"startButton": "Start Orchestration"
2539+
},
2540+
"dataAgentHighlight": {
2541+
"title": "Data Agent - Conversational Business Operations",
2542+
"description": "Say goodbye to complex interfaces, complete all dataset-related business operations with natural language.",
2543+
"examplesTitle": "Conversation Examples:",
2544+
"example1": "Help me create an image classification dataset",
2545+
"example2": "Analyze data quality and generate a report",
2546+
"example3": "Start synthesis task with target of 1000 data points",
2547+
"smartFeaturesTitle": "Smart Features:",
2548+
"smartFeature1": "Understand complex requirements and execute automatically",
2549+
"smartFeature2": "Provide professional advice and optimization solutions",
2550+
"smartFeature3": "Learn usage habits for personalized service",
2551+
"startButton": "Start Conversation"
2552+
},
2553+
"workflowShowcase": {
2554+
"title": "Complete Data Processing Workflow",
2555+
"description": "End-to-end solution from raw data to high-quality datasets.",
2556+
"step1Title": "Data Collection",
2557+
"step1Description": "Support importing from various data sources including local files, databases, APIs, etc.",
2558+
"step2Title": "Smart Orchestration",
2559+
"step2Description": "Visualize data processing workflows, automate complex tasks.",
2560+
"step3Title": "Smart Processing",
2561+
"step3Description": "Automated data processing, annotation, and quality assessment workflows.",
2562+
"step4Title": "Quality Assurance",
2563+
"step4Description": "Comprehensive quality evaluation and bias detection to ensure dataset reliability.",
2564+
"startButton": "Start Building Dataset"
2565+
},
2566+
"features": {
2567+
"orchestration": {
2568+
"title": "Smart Orchestration",
2569+
"description": "Visual data processing workflow orchestration, drag-and-drop design of complex data processing pipelines"
2570+
},
2571+
"chatAssistant": {
2572+
"title": "Chat Assistant",
2573+
"description": "Complete complex dataset operations and business processes through natural language conversation"
2574+
},
2575+
"evaluation": {
2576+
"title": "Comprehensive Evaluation",
2577+
"description": "Multi-dimensional data quality assessment, including statistical analysis, performance testing and bias detection"
2578+
},
2579+
"processing": {
2580+
"title": "Efficient Processing",
2581+
"description": "Complete data processing pipeline from raw data to usable datasets"
2582+
},
2583+
"knowledge": {
2584+
"title": "Knowledge Management",
2585+
"description": "Build RAG-oriented knowledge bases, supporting intelligent Q&A and retrieval"
2586+
}
2587+
}
2588+
},
25062589
"datasetFileTransfer": {
25072590
"columns": {
25082591
"datasetName": "Dataset",

frontend/src/i18n/locales/zh/common.json

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
},
5656
"dataCollection": {
5757
"title": "数据归集",
58+
"description": "创建、导入和管理数据集",
5859
"tabs": {
5960
"taskManagement": "任务管理",
6061
"taskExecution": "执行记录",
@@ -256,6 +257,7 @@
256257
},
257258
"dataManagement": {
258259
"title": "数据管理",
260+
"description": "创建、导入和管理数据集",
259261
"actions": {
260262
"createDataset": "创建数据集",
261263
"edit": "编辑",
@@ -773,6 +775,7 @@
773775
"dataEvaluation": {
774776
"home": {
775777
"title": "数据评估",
778+
"description": "质量分析、性能评估和偏见检测",
776779
"createTask": "创建评估任务",
777780
"searchPlaceholder": "搜索任务名称...",
778781
"filters": {
@@ -976,6 +979,7 @@
976979
"dataAnnotation": {
977980
"home": {
978981
"title": "数据标注",
982+
"description": "对数据进行标注和标记",
979983
"tabs": {
980984
"tasks": "标注任务",
981985
"templates": "标注模板"
@@ -1279,6 +1283,7 @@
12791283
},
12801284
"dataCleansing": {
12811285
"title": "数据处理",
1286+
"description": "数据清洗、处理和转换",
12821287
"tabs": {
12831288
"taskList": "任务列表",
12841289
"templateManagement": "模板管理"
@@ -1498,6 +1503,7 @@
14981503
},
14991504
"knowledgeBase": {
15001505
"title": "知识生成",
1506+
"description": "面向RAG的知识库构建",
15011507
"home": {
15021508
"columns": {
15031509
"name": "知识库",
@@ -1755,6 +1761,7 @@
17551761
},
17561762
"operatorMarket": {
17571763
"title": "算子市场",
1764+
"description": "算子上传与管理",
17581765
"home": {
17591766
"title": "算子市场",
17601767
"actions": {
@@ -2072,6 +2079,7 @@
20722079
},
20732080
"synthesisTask": {
20742081
"title": "数据合成",
2082+
"description": "智能数据合成和配比",
20752083
"tabs": {
20762084
"tasks": "合成任务",
20772085
"templates": "指令模板"
@@ -2503,6 +2511,81 @@
25032511
"fetchFailed": "数据获取失败,请稍后重试"
25042512
}
25052513
},
2514+
"home": {
2515+
"hero": {
2516+
"subtitle": "AI数据集准备工具",
2517+
"title": "DataMate 构建高质量 AI数据集",
2518+
"description": "从数据管理到知识生成,一站式解决企业AI数据处理的场景问题。",
2519+
"getStartedButton": "开始使用",
2520+
"chatAssistantButton": "对话助手",
2521+
"checkingButton": "检查中...",
2522+
"dataOrchestrationButton": "数据智能编排"
2523+
},
2524+
"sections": {
2525+
"featuresTitle": "功能模块"
2526+
},
2527+
"orchestrationHighlight": {
2528+
"title": "数据智能编排 - 可视化流程设计",
2529+
"description": "拖拽式设计复杂数据处理管道,让数据流转更加直观高效。",
2530+
"coreFeaturesTitle": "🎯 核心功能:",
2531+
"feature1": "可视化流程设计器",
2532+
"feature2": "丰富的数据处理组件库",
2533+
"feature3": "实时流程执行监控",
2534+
"smartFeaturesTitle": "⚡ 智能特性:",
2535+
"smartFeature1": "自动优化数据流转路径",
2536+
"smartFeature2": "智能错误检测和修复建议",
2537+
"smartFeature3": "模板化流程快速复用",
2538+
"startButton": "开始编排"
2539+
},
2540+
"dataAgentHighlight": {
2541+
"title": "Data Agent - 对话式业务操作",
2542+
"description": "告别复杂界面,用自然语言完成所有数据集相关业务。",
2543+
"examplesTitle": "💬 对话示例:",
2544+
"example1": "帮我创建一个图像分类数据集",
2545+
"example2": "分析一下数据质量,生成报告",
2546+
"example3": "启动合成任务,目标1000条数据",
2547+
"smartFeaturesTitle": "🚀 智能特性:",
2548+
"smartFeature1": "理解复杂需求,自动执行",
2549+
"smartFeature2": "提供专业建议和优化方案",
2550+
"smartFeature3": "学习使用习惯,个性化服务",
2551+
"startButton": "开始对话"
2552+
},
2553+
"workflowShowcase": {
2554+
"title": "完整的数据处理工作流",
2555+
"description": "从原始数据到高质量数据集的全流程解决方案。",
2556+
"step1Title": "数据收集",
2557+
"step1Description": "支持多种数据源导入,包括本地文件、数据库、API等。",
2558+
"step2Title": "智能编排",
2559+
"step2Description": "可视化设计数据处理流程,自动化执行复杂任务。",
2560+
"step3Title": "智能处理",
2561+
"step3Description": "自动化的数据处理、标注和质量评估流程。",
2562+
"step4Title": "质量保证",
2563+
"step4Description": "全面的质量评估和偏见检测,确保数据集可靠性。",
2564+
"startButton": "开始构建数据集"
2565+
},
2566+
"features": {
2567+
"orchestration": {
2568+
"title": "智能编排",
2569+
"description": "可视化数据处理流程编排,拖拽式设计复杂的数据处理管道"
2570+
},
2571+
"chatAssistant": {
2572+
"title": "对话助手",
2573+
"description": "通过自然语言对话完成复杂的数据集操作和业务流程"
2574+
},
2575+
"evaluation": {
2576+
"title": "全面评估",
2577+
"description": "多维度数据质量评估,包含统计分析、性能测试和偏见检测"
2578+
},
2579+
"processing": {
2580+
"title": "高效处理",
2581+
"description": "完整的数据处理流水线,从原始数据到可用数据集"
2582+
},
2583+
"knowledge": {
2584+
"title": "知识管理",
2585+
"description": "构建面向RAG的知识库,支持智能问答和检索"
2586+
}
2587+
}
2588+
},
25062589
"datasetFileTransfer": {
25072590
"columns": {
25082591
"datasetName": "所属数据集",

0 commit comments

Comments
 (0)