268 lines
17 KiB
JavaScript
268 lines
17 KiB
JavaScript
// i18n.js — 千视科技官网双语系统(字典式文本节点替换)
|
|
(function(){
|
|
var DICT = {
|
|
// ===== 通用 =====
|
|
"千视科技": "Qianshi Tech",
|
|
"首页": "Home",
|
|
"免费咨询": "Free Consult",
|
|
"查看案例": "View Cases",
|
|
"立即咨询": "Contact Now",
|
|
"了解详情 →": "Learn More →",
|
|
"联系我们": "Contact Us",
|
|
"预约咨询": "Consult",
|
|
"返回顶部": "Back to Top",
|
|
"了解企业智能体": "Learn Enterprise AI",
|
|
"© 2019-2026 千视科技 版权所有": "© 2019-2026 Qianshi Tech. All Rights Reserved",
|
|
"粤ICP备2026089876号-1": "粤ICP备2026089876号-1",
|
|
"友情链接": "Links",
|
|
"网站地图": "Sitemap",
|
|
"隐私政策": "Privacy Policy",
|
|
"法律声明": "Legal Notice",
|
|
"免责声明": "Disclaimer",
|
|
"关于Cookie": "Cookie Policy",
|
|
"地址:深圳": "Addr: Shenzhen",
|
|
|
|
// ===== 导航 =====
|
|
"企业智能体": "Enterprise AI",
|
|
"RAG企业知识库": "RAG Knowledge Base",
|
|
"AI私有专家": "AI Private Expert",
|
|
"AI客服": "AI Customer Service",
|
|
"数字人/视频复刻/IP": "Digital Human / Video / IP",
|
|
"OPC一人公司": "OPC One-Person Biz",
|
|
"AI拓客": "AI Prospecting",
|
|
"Superlink": "Superlink",
|
|
"EDM邮件": "EDM Email",
|
|
"AI推广": "AI Promotion",
|
|
"自媒体代运营": "Social Media Ops",
|
|
"GEO/SEO/SEM": "GEO/SEO/SEM",
|
|
"建站": "Website Building",
|
|
"舆情管理": "Sentiment Mgmt",
|
|
"软件定制": "Custom Software",
|
|
"博客": "Blog",
|
|
"营销资料中心": "Marketing Resources",
|
|
"论坛": "Forum",
|
|
"关于我们": "About Us",
|
|
"公司介绍": "Company",
|
|
"新闻中心": "News",
|
|
"加入我们": "Careers",
|
|
"联系方式": "Contact",
|
|
"数字员工在线": "Online 24/7",
|
|
"平均增长倍数": "Avg. Growth",
|
|
|
|
// ===== 首页 =====
|
|
"用AI智能体驱动企业增长": "Drive Growth with AI Agents",
|
|
"企业智能体 · AI拓客 · AI推广 · 软件定制 —— 一站式AI数字化增长引擎,让每一家企业都能用上AI。": "Enterprise AI Agents · AI Prospecting · AI Promotion · Custom Software — a one-stop AI growth engine for every business.",
|
|
"核心业务": "Core Business",
|
|
"四大业务线,覆盖企业AI应用的每个环节": "Four business lines covering every stage of enterprise AI adoption",
|
|
"RAG知识库、AI私有专家、AI客服、数字人/视频复刻、OPC一人公司,让企业拥有24小时在线的数字员工。": "RAG knowledge base, AI private experts, AI customer service, digital humans & OPC — 24/7 digital workforce for your business.",
|
|
"Superlink精准触达 + EDM邮件营销,基于数据驱动的智能获客,让线索量翻倍。": "Superlink precise outreach + EDM email marketing — data-driven acquisition that doubles your leads.",
|
|
"自媒体代运营、GEO/SEO/SEM、建站、舆情管理,AI赋能的全域营销增长。": "Social media ops, GEO/SEO/SEM, website building, sentiment management — AI-powered omnichannel growth.",
|
|
"从需求分析到交付运维,定制开发贴合业务的企业软件系统。": "From requirements to delivery, custom software tailored to your business.",
|
|
"公司优势": "Our Advantages",
|
|
"为什么选择千视科技": "Why choose Qianshi Tech",
|
|
"技术深耕": "Deep Tech",
|
|
"自研AI智能体平台,全栈技术能力,紧跟大模型技术前沿。": "Self-developed AI agent platform with full-stack capability, at the forefront of LLM technology.",
|
|
"结果导向": "Result-Driven",
|
|
"以业务增长为目标,用数据说话,每个方案都有可量化的交付成果。": "Growth-focused with measurable deliverables on every solution.",
|
|
"贴身服务": "Dedicated Support",
|
|
"从咨询、实施到运维的一站式服务,技术团队全程陪跑。": "One-stop service from consulting to deployment to maintenance, with our team by your side.",
|
|
"业务亮点": "Highlights",
|
|
"AI驱动的增长引擎": "AI-powered growth engine",
|
|
"AI智能体落地方案": "AI Agent Deployment",
|
|
"RAG企业知识库私有化部署,数据不出域;AI客服7×24小时在线,秒级响应客户咨询。": "Private RAG knowledge base with data sovereignty; 24/7 AI customer service with instant responses.",
|
|
"AI驱动的精准拓客": "AI-Driven Prospecting",
|
|
"Superlink + EDM组合拳,数据驱动精准触达目标客户,获客成本大幅降低。": "Superlink + EDM combo for precision outreach, drastically cutting acquisition cost.",
|
|
"全域AI推广": "Omnichannel AI Promotion",
|
|
"自媒体代运营+SEO/SEM+GEO,AI生成内容+智能投放,覆盖搜索与内容双引擎。": "Social media ops + SEO/SEM/GEO with AI-generated content across search and content engines.",
|
|
"软件定制开发": "Custom Software Dev",
|
|
"贴合业务的定制开发,覆盖管理系统、数据平台、自动化工具等。": "Business-fit custom development covering management systems, data platforms, automation tools.",
|
|
"来自客户的肯定": "Client Testimonials",
|
|
"真实客户的声音": "Voices from our clients",
|
|
"最新资讯": "Latest News",
|
|
"行业洞察与公司动态": "Industry insights & company updates",
|
|
"行业洞察": "Insight",
|
|
"公司动态": "News",
|
|
"准备好让AI驱动你的业务了吗?": "Ready to let AI drive your business?",
|
|
"告诉我们你的业务场景,我们帮你落地第一个AI方案": "Tell us your scenario, we'll deploy your first AI solution",
|
|
|
|
// ===== 二级业务页通用 =====
|
|
"核心能力": "Core Capabilities",
|
|
"客户案例": "Client Case",
|
|
"查看全部案例": "View All Cases",
|
|
"需要这项服务?": "Need this service?",
|
|
"需要帮助?": "Need help?",
|
|
"联系我们,获取专属解决方案": "Contact us for a tailored solution",
|
|
"满足你的业务场景": "Fit your business scenario",
|
|
"案例详情": "Case Detail",
|
|
"项目背景": "Background",
|
|
"解决方案": "Solution",
|
|
"成果数据": "Results",
|
|
"功能亮点": "Features",
|
|
"项目成果": "Outcomes",
|
|
"三大场景覆盖 · 热点驱动 · AI生成 · 积分自助": "3 Scenarios · Hotspot-Driven · AI Generation · Credit-Based",
|
|
"进入视频复刻 →": "Enter Video Replication →",
|
|
|
|
// ===== 案例标题 =====
|
|
"视频爆款复刻系统": "Viral Video Replication",
|
|
"IP智能体客服": "IP Agent Customer Service",
|
|
"AI带货视频批量生产": "AI E-commerce Video Batch",
|
|
"AI量化交易策略": "AI Quant Trading",
|
|
"企业GEO搜索引擎优化": "Enterprise GEO Optimization",
|
|
"舆情监控自动化": "Sentiment Monitoring",
|
|
"盘中资讯监测系统": "Real-Time Market Intelligence",
|
|
"AI一站式小说平台": "AI All-in-One Novel Platform",
|
|
|
|
// ===== 一级聚合页 =====
|
|
"让企业拥有24小时在线的AI数字员工": "24/7 AI digital employees for your enterprise",
|
|
"从知识库到专家、从客服到数字人,一站式企业智能体解决方案,覆盖企业运营的每一个环节。": "From knowledge bases to experts, from customer service to digital humans — one-stop enterprise AI covering every function.",
|
|
"数据驱动的智能获客,让线索量翻倍": "Data-driven acquisition that doubles your leads",
|
|
"精准触达+邮件营销双引擎,基于数据建模锁定高意向客户,自动跟进转化。": "Precision outreach + email marketing, data-modeled to lock high-intent prospects and auto-convert.",
|
|
"AI赋能的全域营销增长": "AI-powered omnichannel growth",
|
|
"内容、搜索、投放、舆情全覆盖,让每一分营销预算都产生回报。": "Content, search, ads and sentiment — every marketing dollar earns its return.",
|
|
"定制开发贴合业务的企业软件": "Custom software tailored to your business",
|
|
"从需求分析、架构设计到开发交付、运维迭代,全流程定制开发,让软件真正服务业务。": "Full-cycle custom development — requirements, architecture, delivery, maintenance — software that truly serves your business.",
|
|
"AI营销干货、行业洞察与最佳实践": "AI marketing playbooks, insights and best practices",
|
|
"持续更新的知识库,从实操方法到行业趋势,助你把握AI时代红利。": "A constantly updated library — from hands-on methods to industry trends — to seize the AI era.",
|
|
"用AI让每一家企业都能用上": "Making AI accessible to every business",
|
|
"成立于2019年,专注AI智能体技术研发与应用,服务500+企业客户。": "Founded in 2019, focused on AI agent R&D, serving 500+ enterprise clients.",
|
|
"月均新增线索": "Leads / Month",
|
|
"获客成本降幅": "CAC Reduction",
|
|
"邮件送达率": "Deliverability",
|
|
"注册转化率": "Signup Rate",
|
|
"AI搜索提及率提升": "AI-Mention Lift",
|
|
"月询单增长": "Inquiry Growth",
|
|
"自然流量增长": "Organic Growth",
|
|
"负面预警响应": "Alert Response",
|
|
"AI应答率": "AI Resolution",
|
|
"平均提效": "Avg. Efficiency",
|
|
"服务客户": "Clients Served",
|
|
"AI解决方案": "AI Solutions",
|
|
"在线服务": "Online 24/7",
|
|
"成立年份": "Founded",
|
|
"篇干货文章": "Articles",
|
|
"份行业报告": "Reports",
|
|
"个实战案例": "Cases",
|
|
"社区成员": "Members",
|
|
"定制贴合": "100% Custom",
|
|
"专属团队": "Dedicated Team",
|
|
"运维保障": "O&M Support",
|
|
"技术债": "Tech Debt",
|
|
|
|
// ===== 微信客服 =====
|
|
"微信扫码咨询客服": "WeChat Support",
|
|
"扫码咨询客服": "Scan to chat with us",
|
|
"Scan to chat with us": "扫码咨询客服",
|
|
|
|
// ===== 软件定制开发详情页 =====
|
|
"定制开发": "Custom Development",
|
|
"定制服务": "Custom Services",
|
|
"定制开发五步流程": "Our 5-Step Process",
|
|
"交付保障": "Delivery Guarantee",
|
|
"需要定制你的系统?": "Need a custom system?",
|
|
"免费需求评估": "Free Assessment",
|
|
"管理系统": "Management Systems",
|
|
"数据平台": "Data Platforms",
|
|
"自动化工具": "Automation Tools",
|
|
"小程序/App": "Mini-App / App",
|
|
"需求调研": "Discovery",
|
|
"方案设计": "Design",
|
|
"开发交付": "Development",
|
|
"测试上线": "Test & Launch",
|
|
"运维迭代": "O&M & Iteration",
|
|
"源码交付": "Source Handover",
|
|
|
|
// ===== 企业智能体定制开发强调 =====
|
|
"了解定制开发": "Custom Development",
|
|
"查看定制开发详情": "See Custom Development",
|
|
"可定制开发": "Customizable",
|
|
"定制开发交付保障": "Custom Delivery Guarantee",
|
|
"1对1专属交付": "Dedicated Delivery",
|
|
"私有化数据不出域": "On-Prem Data",
|
|
"持续调优迭代": "Continuous Tuning",
|
|
|
|
// ===== 新增长文案(详情页 / 强调区) =====
|
|
"从需求分析、架构设计到开发交付、运维迭代,全流程定制开发,让软件真正服务业务": "Full-cycle custom development from requirements to maintenance, software that truly serves your business",
|
|
"不只是写代码,而是把你的业务流程变成稳定运行的软件资产。": "More than writing code — we turn your business processes into stable software assets.",
|
|
"标准化流程保障项目按期交付,每一步都有明确产出物。": "A standardized process ensures on-time delivery, with clear outputs at every step.",
|
|
"深入沟通业务场景,梳理核心需求与优先级,输出需求文档。": "Deep-dive into your scenarios, map core needs and priorities into a requirements doc.",
|
|
"输出技术架构方案、UI原型与项目排期报价,确认后启动开发。": "Architecture, UI prototypes and a scheduled quote, confirmed before development.",
|
|
"敏捷迭代开发,分阶段交付可验收版本,进度全程透明。": "Agile iteration with deliverables at each stage, fully transparent progress.",
|
|
"功能、性能与安全测试,协助部署上线并交付文档与源码。": "Functional, performance and security testing, deployment support plus docs and source code.",
|
|
"7×24运维保障,按业务变化持续迭代优化,保障系统长期稳定。": "7x24 support with continuous iteration to keep your system stable long-term.",
|
|
"完整交付源码与技术文档,无技术债、无锁定,可自主二次开发。": "Full source code and docs handed over — zero tech debt, no lock-in, fully extendable.",
|
|
"管理系统定制开发:覆盖ERP企业资源管理、CRM客户关系管理、OA协同办公、WMS仓储管理、MES生产执行、DMS经销商管理等系统,支持全新定制与现有系统二次开发。": "Custom management systems covering ERP, CRM, OA, WMS, MES and DMS. Both greenfield builds and secondary development of existing systems.",
|
|
"数据平台建设:数据采集接入、数据仓库、ETL清洗加工、BI可视化看板、数据中台与指标体系搭建,让业务数据真正可用。": "Data ingestion, data warehouse, ETL processing, BI dashboards and metric systems, making your business data truly usable.",
|
|
"自动化工具:业务流程自动化RPA、审批流引擎、报表定时推送、企微/钉钉机器人,并可集成大模型能力实现智能填写与智能决策。": "RPA workflow automation, approval engines, scheduled report delivery, WeCom/DingTalk bots, with LLM integration for intelligent input and decisions.",
|
|
"小程序与App:微信小程序、H5应用、iOS/Android原生应用与跨端Flutter应用开发,全平台覆盖获客、营销与服务场景。": "WeChat mini-programs, H5 apps, native iOS/Android and cross-platform Flutter apps across acquisition, marketing and service scenarios.",
|
|
"ERP/CRM/OA等企业管理系统定制开发,打通业务全流程。": "ERP, CRM, OA and other management systems, connecting your full business workflow.",
|
|
"数据采集、分析、可视化平台开发。": "Data collection, analytics and visualization platforms.",
|
|
"业务流程自动化与AI集成开发。": "Workflow automation and AI integration development.",
|
|
"微信小程序与移动端应用开发。": "WeChat mini-programs and mobile app development.",
|
|
"告诉我们你的业务场景,48小时内获得方案评估": "Tell us your scenario and get a solution assessment within 48 hours",
|
|
"深入了解四大定制方向": "Explore our four custom services",
|
|
"以上智能体均可按需定制开发": "Every agent below is available for custom development",
|
|
"RAG知识库、AI私有专家、AI客服、数字人、OPC一人公司 —— 不是标准化产品,而是按你的业务流程、知识库与渠道深度定制开发,可二次集成进你的系统。": "Not off-the-shelf products — RAG KB, AI experts, AI CS, digital humans and OPC are custom-developed around your workflows, knowledge base and channels, and integrate into your systems.",
|
|
"智能体不是一次交付就结束,而是陪你持续调优。": "Agents keep improving after launch — we tune them with you.",
|
|
"专属项目经理与技术负责人,需求变更快速响应。": "A dedicated PM and tech lead respond quickly to requirement changes.",
|
|
"支持私有化部署,知识库与业务数据全程留在你自己的环境内。": "Private deployment keeps your knowledge base and data inside your own environment.",
|
|
"基于真实对话数据持续优化应答质量,AI应答率与提效可量化。": "Continuously tuned on real conversations, with measurable answer rate and efficiency.",
|
|
"标准化流程保障按期交付,每一步都有明确产出物": "A standardized process with clear outputs at every step",
|
|
"真实落地案例,可复现、带交付物": "Real-world cases, reproducible with deliverables",
|
|
};
|
|
|
|
// 构建反向字典
|
|
var REV = {};
|
|
Object.keys(DICT).forEach(function(k){ REV[DICT[k]] = k; });
|
|
|
|
var LANG = localStorage.getItem('__lang') || 'zh';
|
|
var ORIG = new Map();
|
|
|
|
function walkTextNodes(root, fn) {
|
|
var walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT, {
|
|
acceptNode: function(node) {
|
|
var tag = node.parentElement && node.parentElement.tagName;
|
|
if (tag && ['SCRIPT','STYLE','SVG','NOSCRIPT'].indexOf(tag) === -1) return NodeFilter.FILTER_ACCEPT;
|
|
return NodeFilter.FILTER_REJECT;
|
|
}
|
|
}, false);
|
|
while (walker.nextNode()) fn(walker.currentNode);
|
|
}
|
|
|
|
window.setLang = function(lang) {
|
|
if (lang === LANG) return;
|
|
var toEN = (lang === 'en');
|
|
var lookup = toEN ? DICT : REV;
|
|
|
|
walkTextNodes(document.body, function(node) {
|
|
var text = node.textContent.trim();
|
|
if (!text) return;
|
|
if (!ORIG.has(node)) ORIG.set(node, text);
|
|
if (lookup[text]) { node.textContent = lookup[text]; return; }
|
|
// 子串替换(长文本命中)
|
|
var modified = text;
|
|
var keys = Object.keys(lookup).sort(function(a,b){return b.length - a.length;});
|
|
for (var i = 0; i < keys.length; i++) {
|
|
var zh = keys[i];
|
|
if (modified.indexOf(zh) !== -1 && zh.length > modified.length * 0.4) {
|
|
modified = lookup[zh]; break;
|
|
}
|
|
}
|
|
if (modified !== text) node.textContent = modified;
|
|
});
|
|
|
|
LANG = lang;
|
|
localStorage.setItem('__lang', lang);
|
|
document.querySelectorAll('.lang-toggle').forEach(function(b){
|
|
b.style.opacity = b.dataset.lang === lang ? '1' : '.5';
|
|
});
|
|
document.documentElement.lang = lang === 'en' ? 'en' : 'zh-CN';
|
|
// 翻译 title
|
|
var titleKey = document.title;
|
|
if (lookup[titleKey]) document.title = lookup[titleKey];
|
|
};
|
|
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
if (LANG === 'en') setLang('en');
|
|
});
|
|
})();
|