feat(i18n): add shared translation files and language registry
This commit is contained in:
338
locales/en.json
Normal file
338
locales/en.json
Normal file
@@ -0,0 +1,338 @@
|
||||
{
|
||||
"common": {
|
||||
"confirm": "Confirm",
|
||||
"cancel": "Cancel",
|
||||
"loading": "Loading...",
|
||||
"error": "Error",
|
||||
"success": "Success",
|
||||
"completed": "Completed",
|
||||
"processing": "Generating",
|
||||
"pending": "Pending",
|
||||
"ready": "Ready",
|
||||
"running": "Running",
|
||||
"failed": "Failed",
|
||||
"unknown": "Unknown",
|
||||
"unknownError": "Unknown error",
|
||||
"none": "None",
|
||||
"close": "Close",
|
||||
"back": "Back",
|
||||
"next": "Next",
|
||||
"retry": "Retry",
|
||||
"noData": "No data available",
|
||||
"hours": "hours",
|
||||
"minutes": "minutes",
|
||||
"rounds": "rounds",
|
||||
"items": "items",
|
||||
"files": "files"
|
||||
},
|
||||
"meta": {
|
||||
"title": "MiroFish - Predict Everything",
|
||||
"description": "MiroFish - Social Media Opinion Simulation System"
|
||||
},
|
||||
"nav": {
|
||||
"visitGithub": "Visit our Github page"
|
||||
},
|
||||
"home": {
|
||||
"tagline": "Concise & Universal Swarm Intelligence Engine",
|
||||
"version": "/ v0.1-Preview",
|
||||
"heroTitle1": "Upload Any Report",
|
||||
"heroTitle2": "Simulate the Future Instantly",
|
||||
"heroDesc": "Even from a single paragraph, {brand} can extract reality seeds and auto-generate a parallel world of up to {agentScale}. Inject variables from a god's-eye view to find the {optimalSolution} amid complex group interactions in dynamic environments.",
|
||||
"heroDescBrand": "MiroFish",
|
||||
"heroDescAgentScale": "millions of Agents",
|
||||
"heroDescOptimalSolution": "\"local optimum\"",
|
||||
"slogan": "Let the future rehearse among Agents, let decisions prevail after a hundred battles",
|
||||
"systemStatus": "System Status",
|
||||
"systemReady": "Ready",
|
||||
"systemReadyDesc": "Prediction engine on standby. Upload unstructured data to initialize a simulation sequence.",
|
||||
"metricLowCost": "Low Cost",
|
||||
"metricLowCostDesc": "Avg. $5 per simulation",
|
||||
"metricHighAvail": "High Availability",
|
||||
"metricHighAvailDesc": "Up to millions of Agents",
|
||||
"workflowSequence": "Workflow Sequence",
|
||||
"step01Title": "Graph Build",
|
||||
"step01Desc": "Reality seed extraction & individual/group memory injection & GraphRAG construction",
|
||||
"step02Title": "Environment Setup",
|
||||
"step02Desc": "Entity-relation extraction & persona generation & environment config with Agent injection",
|
||||
"step03Title": "Run Simulation",
|
||||
"step03Desc": "Dual-platform parallel simulation & auto-parse prediction requirements & dynamic temporal memory",
|
||||
"step04Title": "Report Generation",
|
||||
"step04Desc": "ReportAgent with a rich toolset interacts deeply with the post-simulation environment",
|
||||
"step05Title": "Deep Interaction",
|
||||
"step05Desc": "Chat with any individual in the simulated world & converse with ReportAgent",
|
||||
"realitySeed": "01 / Reality Seed",
|
||||
"supportedFormats": "Formats: PDF, MD, TXT",
|
||||
"dragToUpload": "Drag files to upload",
|
||||
"orBrowse": "or click to browse files",
|
||||
"inputParams": "Input Parameters",
|
||||
"simulationPrompt": ">_ 02 / Simulation Prompt",
|
||||
"promptPlaceholder": "// Describe your simulation or prediction requirement in natural language",
|
||||
"engineBadge": "Engine: MiroFish-V1.0",
|
||||
"startEngine": "Start Engine",
|
||||
"initializing": "Initializing..."
|
||||
},
|
||||
"main": {
|
||||
"layoutGraph": "Graph",
|
||||
"layoutSplit": "Split",
|
||||
"layoutWorkbench": "Workbench",
|
||||
"stepNames": ["Graph Build", "Env Setup", "Run Simulation", "Report Generation", "Deep Interaction"]
|
||||
},
|
||||
"step1": {
|
||||
"ontologyGeneration": "Ontology Generation",
|
||||
"ontologyCompleted": "Completed",
|
||||
"ontologyGenerating": "Generating",
|
||||
"ontologyPending": "Pending",
|
||||
"ontologyDesc": "LLM analyzes document content and simulation requirements, extracts reality seeds, and auto-generates a suitable ontology structure",
|
||||
"analyzingDocs": "Analyzing documents...",
|
||||
"graphRagBuild": "GraphRAG Build",
|
||||
"graphRagDesc": "Based on the generated ontology, documents are auto-chunked and sent to Zep to build a knowledge graph, extracting entities and relations, forming temporal memory and community summaries",
|
||||
"entityNodes": "Entity Nodes",
|
||||
"relationEdges": "Relation Edges",
|
||||
"schemaTypes": "Schema Types",
|
||||
"buildComplete": "Build Complete",
|
||||
"buildCompleteDesc": "Graph build is complete. Proceed to the next step for simulation environment setup.",
|
||||
"inProgress": "In Progress",
|
||||
"creating": "Creating...",
|
||||
"enterEnvSetup": "Enter Environment Setup",
|
||||
"createSimulationFailed": "Failed to create simulation: {error}",
|
||||
"createSimulationException": "Simulation creation error: {error}"
|
||||
},
|
||||
"step2": {
|
||||
"simInstanceInit": "Simulation Instance Initialization",
|
||||
"simInstanceDesc": "Create a new simulation instance and pull world parameter templates",
|
||||
"asyncTaskDone": "Async task completed",
|
||||
"generateAgentPersona": "Generate Agent Personas",
|
||||
"generateAgentPersonaDesc": "Combine context to auto-extract entities and relations from the knowledge graph, initialize simulated individuals, and assign unique behaviors and memories based on reality seeds",
|
||||
"currentAgentCount": "Current Agents",
|
||||
"expectedAgentTotal": "Expected Total Agents",
|
||||
"relatedTopicsCount": "Reality Seed Related Topics",
|
||||
"generatedAgentPersonas": "Generated Agent Personas",
|
||||
"unknownProfession": "Unknown profession",
|
||||
"noBio": "No bio available",
|
||||
"dualPlatformConfig": "Generate Dual-Platform Config",
|
||||
"dualPlatformConfigDesc": "LLM intelligently sets world time flow, recommendation algorithms, each individual's active hours, posting frequency, event triggers, and more based on requirements and reality seeds",
|
||||
"simulationDuration": "Simulation Duration",
|
||||
"roundDuration": "Round Duration",
|
||||
"totalRounds": "Total Rounds",
|
||||
"activePerHour": "Active Per Hour",
|
||||
"peakHours": "Peak Hours",
|
||||
"workHours": "Work Hours",
|
||||
"morningHours": "Morning Hours",
|
||||
"offPeakHours": "Off-Peak Hours",
|
||||
"agentConfig": "Agent Config",
|
||||
"activeTimePeriod": "Active Hours",
|
||||
"postsPerHour": "Posts/hr",
|
||||
"commentsPerHour": "Comments/hr",
|
||||
"responseDelay": "Response Delay",
|
||||
"activityLevel": "Activity Level",
|
||||
"sentimentBias": "Sentiment Bias",
|
||||
"influenceWeight": "Influence",
|
||||
"recommendAlgoConfig": "Recommendation Algorithm Config",
|
||||
"platform1Name": "Platform 1: Plaza / Feed",
|
||||
"platform2Name": "Platform 2: Topic / Community",
|
||||
"recencyWeight": "Recency Weight",
|
||||
"popularityWeight": "Popularity Weight",
|
||||
"relevanceWeight": "Relevance Weight",
|
||||
"viralThreshold": "Viral Threshold",
|
||||
"echoChamberStrength": "Echo Chamber Strength",
|
||||
"llmConfigReasoning": "LLM Config Reasoning",
|
||||
"initialActivation": "Initial Activation Orchestration",
|
||||
"initialActivationDesc": "Auto-generate initial activation events and hot topics based on narrative direction to guide the simulation world's initial state",
|
||||
"orchestrating": "Orchestrating",
|
||||
"narrativeDirection": "Narrative Direction",
|
||||
"initialHotTopics": "Initial Hot Topics",
|
||||
"initialActivationSeq": "Initial Activation Sequence ({count})",
|
||||
"setupComplete": "Setup Complete",
|
||||
"setupCompleteDesc": "Simulation environment is ready. You can now start the simulation.",
|
||||
"roundsConfig": "Simulation Rounds Configuration",
|
||||
"roundsConfigDesc": "MiroFish auto-plans to simulate {hours} real-world hours, each round representing {minutesPerRound} minutes of elapsed time",
|
||||
"customToggle": "Custom",
|
||||
"roundsUnit": "rounds",
|
||||
"estimatedDuration": "For 100 Agents: est. ~{minutes} minutes",
|
||||
"estimatedDurationFull": "For 100 Agents: est. {minutes} minutes",
|
||||
"recommendedRounds": "{rounds} (recommended)",
|
||||
"customTip": "For first-time runs, we strongly recommend switching to 'Custom Mode' to reduce rounds for a quick preview and lower error risk",
|
||||
"backToGraphBuild": "Back to Graph Build",
|
||||
"startDualWorldSim": "Start Dual-World Parallel Simulation",
|
||||
"profileModalAge": "Apparent Age",
|
||||
"profileModalGender": "Apparent Gender",
|
||||
"profileModalCountry": "Country/Region",
|
||||
"profileModalMbti": "Apparent MBTI",
|
||||
"profileModalBio": "Persona Bio",
|
||||
"profileModalTopics": "Reality Seed Related Topics",
|
||||
"profileModalPersona": "Detailed Persona Background",
|
||||
"personaDimExperience": "Full Event Experience",
|
||||
"personaDimExperienceDesc": "Complete behavioral trajectory in this event",
|
||||
"personaDimBehavior": "Behavioral Profile",
|
||||
"personaDimBehaviorDesc": "Experience summary and behavioral preferences",
|
||||
"personaDimMemory": "Unique Memory Imprint",
|
||||
"personaDimMemoryDesc": "Memories formed from reality seeds",
|
||||
"personaDimSocial": "Social Network",
|
||||
"personaDimSocialDesc": "Individual connections and interaction graph",
|
||||
"genderMale": "Male",
|
||||
"genderFemale": "Female",
|
||||
"genderOther": "Other",
|
||||
"yearsOld": "years old"
|
||||
},
|
||||
"step3": {
|
||||
"startGenerateReport": "Generate Result Report",
|
||||
"generatingReport": "Starting...",
|
||||
"waitingForActions": "Waiting for agent actions...",
|
||||
"errorMissingSimId": "Error: missing simulationId",
|
||||
"startingDualSim": "Starting dual-platform parallel simulation...",
|
||||
"graphMemoryUpdateEnabled": "Dynamic graph memory update enabled",
|
||||
"setMaxRounds": "Max simulation rounds set to: {rounds}",
|
||||
"oldSimCleared": "Old simulation logs cleared, restarting simulation",
|
||||
"engineStarted": "Simulation engine started successfully",
|
||||
"startFailed": "Start failed: {error}",
|
||||
"startException": "Start error: {error}",
|
||||
"stoppingSim": "Stopping simulation...",
|
||||
"simStopped": "Simulation stopped",
|
||||
"stopFailed": "Stop failed: {error}",
|
||||
"stopException": "Stop error: {error}",
|
||||
"allPlatformsCompleted": "All platform simulations have ended",
|
||||
"simCompleted": "Simulation completed",
|
||||
"graphRealtimeRefresh": "Graph real-time refresh enabled (30s)",
|
||||
"graphRefreshStopped": "Graph real-time refresh stopped",
|
||||
"preparingGoBack": "Preparing to return to Step 2, closing simulation...",
|
||||
"closingSimEnv": "Closing simulation environment...",
|
||||
"simEnvClosed": "Simulation environment closed",
|
||||
"closeFailed": "Failed to close simulation environment, attempting force stop...",
|
||||
"stoppingProcess": "Stopping simulation process...",
|
||||
"checkStatusFailed": "Failed to check simulation status: {error}",
|
||||
"forceStopSuccess": "Simulation force stopped",
|
||||
"forceStopFailed": "Force stop failed: {error}"
|
||||
},
|
||||
"step4": {
|
||||
"generatingSection": "Generating {title}...",
|
||||
"goToInteraction": "Enter Deep Interaction",
|
||||
"waitingForReportAgent": "Waiting for Report Agent..."
|
||||
},
|
||||
"step5": {
|
||||
"interactiveTools": "Interactive Tools",
|
||||
"agentsAvailable": "{count} agents available",
|
||||
"chatWithReportAgent": "Chat with Report Agent",
|
||||
"chatWithAgent": "Chat with any individual in the world",
|
||||
"selectChatTarget": "Select chat target",
|
||||
"sendSurvey": "Send survey to the world",
|
||||
"reportAgentChat": "Report Agent - Chat",
|
||||
"reportAgentDesc": "A conversational version of the report generation agent with access to 4 professional tools and MiroFish's complete memory",
|
||||
"toolInsightForge": "InsightForge Deep Attribution",
|
||||
"toolInsightForgeDesc": "Aligns real-world seed data with simulation state, combining Global/Local Memory for cross-temporal deep attribution analysis",
|
||||
"toolPanoramaSearch": "PanoramaSearch Full Tracking",
|
||||
"toolPanoramaSearchDesc": "Graph-based BFS algorithm that reconstructs event propagation paths, capturing the full topology of information flow",
|
||||
"toolQuickSearch": "QuickSearch Fast Retrieval",
|
||||
"toolQuickSearchDesc": "GraphRAG-based instant query interface with optimized indexing for fast extraction of node attributes and discrete facts",
|
||||
"toolInterviewSubAgent": "InterviewSubAgent Virtual Interview",
|
||||
"toolInterviewSubAgentDesc": "Autonomous interviews that conduct parallel multi-round dialogues with simulated individuals, collecting unstructured opinion data and psychological states",
|
||||
"profileBio": "Bio",
|
||||
"chatEmptyReportAgent": "Chat with Report Agent to explore report content in depth",
|
||||
"chatEmptyAgent": "Chat with simulated individuals to understand their perspectives",
|
||||
"chatInputPlaceholder": "Type your question...",
|
||||
"selectSurveyTarget": "Select survey targets",
|
||||
"selectedCount": "Selected {selected} / {total}",
|
||||
"surveyQuestions": "Survey Questions",
|
||||
"surveyInputPlaceholder": "Enter the question you want to ask all selected targets...",
|
||||
"submitSurvey": "Send Survey",
|
||||
"surveyResults": "Survey Results",
|
||||
"surveyResultsCount": "{count} responses",
|
||||
"selectAll": "Select All",
|
||||
"clearSelection": "Clear"
|
||||
},
|
||||
"graph": {
|
||||
"panelTitle": "Graph Relationship Visualization",
|
||||
"refreshGraph": "Refresh Graph",
|
||||
"graphMemoryRealtime": "GraphRAG short/long-term memory updating in real-time",
|
||||
"realtimeUpdating": "Updating in real-time...",
|
||||
"pendingContentHint": "Some content is still processing. Consider refreshing the graph manually later.",
|
||||
"nodeDetails": "Node Details",
|
||||
"relationship": "Relationship"
|
||||
},
|
||||
"history": {
|
||||
"title": "Simulation History",
|
||||
"graphBuild": "Graph Build",
|
||||
"envSetup": "Env Setup",
|
||||
"analysisReport": "Analysis Report",
|
||||
"moreFiles": "+{count} files",
|
||||
"noFiles": "No files",
|
||||
"loadingText": "Loading...",
|
||||
"simRequirement": "Simulation Requirement",
|
||||
"relatedFiles": "Related Files",
|
||||
"noRelatedFiles": "No related files",
|
||||
"replayTitle": "Simulation Replay",
|
||||
"step1Button": "Graph Build",
|
||||
"step2Button": "Env Setup",
|
||||
"step4Button": "Analysis Report",
|
||||
"replayHint": "Step 3 'Run Simulation' and Step 5 'Deep Interaction' must be started during runtime and do not support history replay"
|
||||
},
|
||||
"api": {
|
||||
"projectNotFound": "Project not found: {id}",
|
||||
"projectDeleteFailed": "Project not found or deletion failed: {id}",
|
||||
"projectDeleted": "Project deleted: {id}",
|
||||
"projectReset": "Project reset: {id}",
|
||||
"requireSimulationRequirement": "Please provide a simulation requirement (simulation_requirement)",
|
||||
"requireFileUpload": "Please upload at least one document file",
|
||||
"noDocProcessed": "No documents were processed successfully. Please check file formats.",
|
||||
"requireProjectId": "Please provide project_id",
|
||||
"configError": "Configuration error: {details}",
|
||||
"zepApiKeyMissing": "ZEP_API_KEY not configured",
|
||||
"ontologyNotGenerated": "Ontology not yet generated. Please call /ontology/generate first.",
|
||||
"graphBuilding": "Graph build in progress. Do not resubmit. To force rebuild, add force: true.",
|
||||
"textNotFound": "Extracted text content not found",
|
||||
"ontologyNotFound": "Ontology definition not found",
|
||||
"graphBuildStarted": "Graph build task started. Query progress via /task/{taskId}.",
|
||||
"graphBuildComplete": "Graph build complete",
|
||||
"buildFailed": "Build failed: {error}",
|
||||
"taskNotFound": "Task not found: {id}",
|
||||
"graphDeleted": "Graph deleted: {id}",
|
||||
"entityNotFound": "Entity not found: {id}",
|
||||
"graphNotBuilt": "Graph not yet built. Please call /api/graph/build first.",
|
||||
"requireSimulationId": "Please provide simulation_id",
|
||||
"simulationNotFound": "Simulation not found: {id}",
|
||||
"projectMissingRequirement": "Project missing simulation requirement (simulation_requirement)",
|
||||
"prepareStarted": "Preparation task started. Query progress via /api/simulation/prepare/status.",
|
||||
"alreadyPrepared": "Preparation already complete. No need to regenerate.",
|
||||
"notStartedPrepare": "Preparation not started. Please call /api/simulation/prepare.",
|
||||
"taskCompletedPrepared": "Task completed (preparation already exists)",
|
||||
"requireTaskOrSimId": "Please provide task_id or simulation_id",
|
||||
"configNotFound": "Simulation config not found. Please call /prepare first.",
|
||||
"configFileNotFound": "Config file not found. Please call /prepare first.",
|
||||
"unknownScript": "Unknown script: {name}. Available: {allowed}",
|
||||
"scriptFileNotFound": "Script file not found: {name}",
|
||||
"requireGraphId": "Please provide graph_id",
|
||||
"noMatchingEntities": "No matching entities found",
|
||||
"maxRoundsPositive": "max_rounds must be a positive integer",
|
||||
"maxRoundsInvalid": "max_rounds must be a valid integer",
|
||||
"invalidPlatform": "Invalid platform type: {platform}. Options: twitter/reddit/parallel",
|
||||
"simRunningForceHint": "Simulation is running. Stop it first via /stop, or use force=true to restart.",
|
||||
"simNotReady": "Simulation not ready. Current status: {status}. Please call /prepare first.",
|
||||
"graphIdRequiredForMemory": "Graph memory update requires a valid graph_id. Ensure the graph is built.",
|
||||
"dbNotExist": "Database does not exist. The simulation may not have run yet.",
|
||||
"requireMessage": "Please provide a message",
|
||||
"missingGraphId": "Missing graph ID",
|
||||
"missingGraphIdEnsure": "Missing graph ID. Please ensure the graph has been built.",
|
||||
"missingSimRequirement": "Missing simulation requirement description",
|
||||
"reportAlreadyExists": "Report already exists",
|
||||
"reportGenerateStarted": "Report generation task started. Query progress via /api/report/generate/status.",
|
||||
"reportGenerated": "Report generated",
|
||||
"reportNotFound": "Report not found: {id}",
|
||||
"noReportForSim": "No report found for this simulation: {id}",
|
||||
"reportDeleted": "Report deleted: {id}",
|
||||
"reportGenerateFailed": "Report generation failed",
|
||||
"sectionNotFound": "Section not found: section_{index}.md",
|
||||
"reportProgressNotAvail": "Report not found or progress unavailable: {id}",
|
||||
"requireAgentId": "Please provide agent_id",
|
||||
"requirePrompt": "Please provide a prompt (interview question)",
|
||||
"invalidInterviewPlatform": "Platform must be either 'twitter' or 'reddit'",
|
||||
"envNotRunning": "Simulation environment not running or closed. Ensure simulation is complete and in command-wait mode.",
|
||||
"interviewTimeout": "Interview response timed out: {error}",
|
||||
"requireInterviews": "Please provide interviews (interview list)",
|
||||
"interviewListMissingAgentId": "Interview list item {index} missing agent_id",
|
||||
"interviewListMissingPrompt": "Interview list item {index} missing prompt",
|
||||
"interviewListInvalidPlatform": "Interview list item {index} platform must be 'twitter' or 'reddit'",
|
||||
"batchInterviewTimeout": "Batch interview response timed out: {error}",
|
||||
"globalInterviewTimeout": "Global interview response timed out: {error}",
|
||||
"envRunning": "Environment is running and ready for Interview commands",
|
||||
"initReportAgent": "Initializing Report Agent..."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user