345 lines
17 KiB
TypeScript
345 lines
17 KiB
TypeScript
|
|
import { Language } from './config';
|
|||
|
|
|
|||
|
|
export interface Translation {
|
|||
|
|
nav: {
|
|||
|
|
home: string;
|
|||
|
|
products: string;
|
|||
|
|
news: string;
|
|||
|
|
support: string;
|
|||
|
|
about: string;
|
|||
|
|
};
|
|||
|
|
banner: {
|
|||
|
|
slides: Array<{
|
|||
|
|
title: string;
|
|||
|
|
subtitle: string;
|
|||
|
|
cta: string;
|
|||
|
|
}>;
|
|||
|
|
};
|
|||
|
|
features: {
|
|||
|
|
title: string;
|
|||
|
|
subtitle: string;
|
|||
|
|
items: Array<{
|
|||
|
|
icon: string;
|
|||
|
|
title: string;
|
|||
|
|
description: string;
|
|||
|
|
}>;
|
|||
|
|
};
|
|||
|
|
products: {
|
|||
|
|
hero: {
|
|||
|
|
title: string;
|
|||
|
|
subtitle: string;
|
|||
|
|
};
|
|||
|
|
categories: {
|
|||
|
|
all: string;
|
|||
|
|
software: string;
|
|||
|
|
hardware: string;
|
|||
|
|
consulting: string;
|
|||
|
|
integration: string;
|
|||
|
|
};
|
|||
|
|
items: Array<{
|
|||
|
|
name: string;
|
|||
|
|
description: string;
|
|||
|
|
category: string;
|
|||
|
|
price: string;
|
|||
|
|
features: string[];
|
|||
|
|
}>;
|
|||
|
|
learnMore: string;
|
|||
|
|
cta: {
|
|||
|
|
title: string;
|
|||
|
|
subtitle: string;
|
|||
|
|
primaryButton: string;
|
|||
|
|
secondaryButton: string;
|
|||
|
|
};
|
|||
|
|
};
|
|||
|
|
cta: {
|
|||
|
|
title: string;
|
|||
|
|
subtitle: string;
|
|||
|
|
primaryButton: string;
|
|||
|
|
secondaryButton: string;
|
|||
|
|
};
|
|||
|
|
footer: {
|
|||
|
|
description: string;
|
|||
|
|
sections: {
|
|||
|
|
products: {
|
|||
|
|
title: string;
|
|||
|
|
items: Array<{
|
|||
|
|
label: string;
|
|||
|
|
href: string;
|
|||
|
|
}>;
|
|||
|
|
};
|
|||
|
|
support: {
|
|||
|
|
title: string;
|
|||
|
|
items: Array<{
|
|||
|
|
label: string;
|
|||
|
|
href: string;
|
|||
|
|
}>;
|
|||
|
|
};
|
|||
|
|
social: {
|
|||
|
|
title: string;
|
|||
|
|
};
|
|||
|
|
};
|
|||
|
|
copyright: string;
|
|||
|
|
};
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
export const translations: Record<Language, Translation> = {
|
|||
|
|
en: {
|
|||
|
|
nav: {
|
|||
|
|
home: 'Home',
|
|||
|
|
products: 'Products & Services',
|
|||
|
|
news: 'News',
|
|||
|
|
support: 'Support',
|
|||
|
|
about: 'About Us',
|
|||
|
|
},
|
|||
|
|
banner: {
|
|||
|
|
slides: [
|
|||
|
|
{ title: 'Innovative Technology Solutions', subtitle: 'Leading the future, creating unlimited possibilities', cta: 'Learn More', },
|
|||
|
|
{ title: 'Professional Service Team', subtitle: 'Providing comprehensive technical support', cta: 'Contact Us', },
|
|||
|
|
{ title: 'Intelligent Product Experience', subtitle: 'Simplifying processes, improving efficiency', cta: 'Try Now', },
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
features: {
|
|||
|
|
title: 'Why Choose Us',
|
|||
|
|
subtitle: 'We are committed to providing customers with the highest quality products and services, driving business development with innovative technology',
|
|||
|
|
items: [
|
|||
|
|
{ icon: '🚀', title: 'High Performance Solutions', description: 'Using the latest technology architecture to ensure stable and efficient system operation', },
|
|||
|
|
{ icon: '🔒', title: 'Secure & Reliable', description: 'Multi-layer security protection to ensure your data security', },
|
|||
|
|
{ icon: '⚡', title: 'Fast Response', description: '7x24 hours technical support to quickly solve your problems', },
|
|||
|
|
{ icon: '🎯', title: 'Precise Customization', description: 'Tailor-made exclusive solutions according to your needs', },
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
products: {
|
|||
|
|
hero: {
|
|||
|
|
title: 'Products & Services',
|
|||
|
|
subtitle: 'Comprehensive technology solutions to drive your business forward',
|
|||
|
|
},
|
|||
|
|
categories: {
|
|||
|
|
all: 'All Products',
|
|||
|
|
software: 'Software Solutions',
|
|||
|
|
hardware: 'Hardware Products',
|
|||
|
|
consulting: 'Consulting Services',
|
|||
|
|
integration: 'System Integration',
|
|||
|
|
},
|
|||
|
|
items: [
|
|||
|
|
{ name: 'Enterprise Management System', description: 'Comprehensive enterprise resource planning solution with advanced analytics and reporting capabilities.', category: 'software', price: 'From $999/month', features: [ 'Real-time Analytics', 'Cloud-based', 'Multi-platform', '24/7 Support', ], },
|
|||
|
|
{ name: 'AI-Powered Analytics Platform', description: 'Advanced machine learning platform for business intelligence and predictive analytics.', category: 'software', price: 'From $1,499/month', features: [ 'Machine Learning', 'Predictive Analytics', 'Custom Dashboards', 'API Integration', ], },
|
|||
|
|
{ name: 'High-Performance Server', description: 'Enterprise-grade server solutions with exceptional performance and reliability.', category: 'hardware', price: 'From $4,999', features: [ 'High Performance', 'Scalable', 'Energy Efficient', '5-year Warranty', ], },
|
|||
|
|
{ name: 'Digital Transformation Consulting', description: 'Expert consulting services to guide your digital transformation journey.', category: 'consulting', price: 'Custom Quote', features: [ 'Strategy Planning', 'Implementation Support', 'Training', 'Ongoing Support', ], },
|
|||
|
|
{ name: 'Cloud Infrastructure Setup', description: 'Complete cloud infrastructure design and implementation services.', category: 'integration', price: 'From $2,999', features: [ 'Cloud Migration', 'Security Setup', 'Performance Optimization', 'Monitoring', ], },
|
|||
|
|
{ name: 'IoT Device Management', description: 'Comprehensive IoT device management and monitoring solution.', category: 'software', price: 'From $799/month', features: [ 'Device Monitoring', 'Remote Control', 'Data Analytics', 'Security Management', ], },
|
|||
|
|
],
|
|||
|
|
learnMore: 'Learn More',
|
|||
|
|
cta: {
|
|||
|
|
title: 'Need a Custom Solution?',
|
|||
|
|
subtitle: 'Our experts are ready to help you find the perfect solution for your business needs.',
|
|||
|
|
primaryButton: 'Get Quote',
|
|||
|
|
secondaryButton: 'Schedule Demo',
|
|||
|
|
},
|
|||
|
|
},
|
|||
|
|
cta: {
|
|||
|
|
title: 'Ready to Start Your Digital Transformation Journey?',
|
|||
|
|
subtitle: 'Contact our professional team for customized solutions',
|
|||
|
|
primaryButton: 'Free Consultation',
|
|||
|
|
secondaryButton: 'View Cases',
|
|||
|
|
},
|
|||
|
|
footer: {
|
|||
|
|
description: 'Professional technology solution provider, committed to creating value for customers.',
|
|||
|
|
sections: {
|
|||
|
|
products: {
|
|||
|
|
title: 'Products & Services',
|
|||
|
|
items: [
|
|||
|
|
{ label: 'Solutions', href: '/products' },
|
|||
|
|
{ label: 'Technical Consulting', href: '/products' },
|
|||
|
|
{ label: 'System Integration', href: '/products' },
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
support: {
|
|||
|
|
title: 'Support',
|
|||
|
|
items: [
|
|||
|
|
{ label: 'Technical Support', href: '/support' },
|
|||
|
|
{ label: 'Documentation', href: '/support' },
|
|||
|
|
{ label: 'Contact Us', href: '/support' },
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
social: {
|
|||
|
|
title: 'Follow Us',
|
|||
|
|
},
|
|||
|
|
},
|
|||
|
|
copyright: 'All rights reserved.',
|
|||
|
|
},
|
|||
|
|
},
|
|||
|
|
'zh-CN': {
|
|||
|
|
nav: {
|
|||
|
|
home: '首页',
|
|||
|
|
products: '产品与服务',
|
|||
|
|
news: '新闻资讯',
|
|||
|
|
support: '客户支持',
|
|||
|
|
about: '关于我们',
|
|||
|
|
},
|
|||
|
|
banner: {
|
|||
|
|
slides: [
|
|||
|
|
{ title: '创新科技解决方案', subtitle: '引领未来,创造无限可能', cta: '了解更多', },
|
|||
|
|
{ title: '专业服务团队', subtitle: '为您提供全方位技术支持', cta: '联系我们', },
|
|||
|
|
{ title: '智能化产品体验', subtitle: '简化流程,提升效率', cta: '立即体验', },
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
features: {
|
|||
|
|
title: '为什么选择我们',
|
|||
|
|
subtitle: '我们致力于为客户提供最优质的产品和服务,以创新技术驱动业务发展',
|
|||
|
|
items: [
|
|||
|
|
{ icon: '🚀', title: '高性能解决方案', description: '采用最新技术架构,确保系统稳定高效运行', },
|
|||
|
|
{ icon: '🔒', title: '安全可靠', description: '多层安全防护,保障您的数据安全无忧', },
|
|||
|
|
{ icon: '⚡', title: '快速响应', description: '7x24小时技术支持,快速解决您的问题', },
|
|||
|
|
{ icon: '🎯', title: '精准定制', description: '根据您的需求量身定制专属解决方案', },
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
products: {
|
|||
|
|
hero: {
|
|||
|
|
title: '产品与服务',
|
|||
|
|
subtitle: '全面的技术解决方案,推动您的业务向前发展',
|
|||
|
|
},
|
|||
|
|
categories: {
|
|||
|
|
all: '全部产品',
|
|||
|
|
software: '软件解决方案',
|
|||
|
|
hardware: '硬件产品',
|
|||
|
|
consulting: '咨询服务',
|
|||
|
|
integration: '系统集成',
|
|||
|
|
},
|
|||
|
|
items: [
|
|||
|
|
{ name: '企业管理系统', description: '全面的企业资源规划解决方案,具备先进的分析和报告功能。', category: 'software', price: '起价 ¥6,999/月', features: ['实时分析', '云端部署', '多平台支持', '24/7支持'], },
|
|||
|
|
{ name: 'AI智能分析平台', description: '先进的机器学习平台,用于商业智能和预测分析。', category: 'software', price: '起价 ¥10,499/月', features: ['机器学习', '预测分析', '自定义仪表板', 'API集成'], },
|
|||
|
|
{ name: '高性能服务器', description: '企业级服务器解决方案,具有卓越的性能和可靠性。', category: 'hardware', price: '起价 ¥34,999', features: ['高性能', '可扩展', '节能环保', '5年保修'], },
|
|||
|
|
{ name: '数字化转型咨询', description: '专业咨询服务,指导您的数字化转型之旅。', category: 'consulting', price: '定制报价', features: ['战略规划', '实施支持', '培训服务', '持续支持'], },
|
|||
|
|
{ name: '云基础设施搭建', description: '完整的云基础设施设计和实施服务。', category: 'integration', price: '起价 ¥20,999', features: ['云迁移', '安全配置', '性能优化', '监控服务'], },
|
|||
|
|
{ name: '物联网设备管理', description: '全面的物联网设备管理和监控解决方案。', category: 'software', price: '起价 ¥5,599/月', features: ['设备监控', '远程控制', '数据分析', '安全管理'], },
|
|||
|
|
],
|
|||
|
|
learnMore: '了解更多',
|
|||
|
|
cta: {
|
|||
|
|
title: '需要定制解决方案?',
|
|||
|
|
subtitle: '我们的专家随时准备帮助您找到适合您业务需求的完美解决方案。',
|
|||
|
|
primaryButton: '获取报价',
|
|||
|
|
secondaryButton: '预约演示',
|
|||
|
|
},
|
|||
|
|
},
|
|||
|
|
cta: {
|
|||
|
|
title: '准备开始您的数字化转型之旅?',
|
|||
|
|
subtitle: '联系我们的专业团队,获取定制化解决方案',
|
|||
|
|
primaryButton: '免费咨询',
|
|||
|
|
secondaryButton: '查看案例',
|
|||
|
|
},
|
|||
|
|
footer: {
|
|||
|
|
description: '专业的技术解决方案提供商,致力于为客户创造价值。',
|
|||
|
|
sections: {
|
|||
|
|
products: {
|
|||
|
|
title: '产品服务',
|
|||
|
|
items: [
|
|||
|
|
{ label: '解决方案', href: '/products' },
|
|||
|
|
{ label: '技术咨询', href: '/products' },
|
|||
|
|
{ label: '系统集成', href: '/products' },
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
support: {
|
|||
|
|
title: '支持',
|
|||
|
|
items: [
|
|||
|
|
{ label: '技术支持', href: '/support' },
|
|||
|
|
{ label: '文档中心', href: '/support' },
|
|||
|
|
{ label: '联系我们', href: '/support' },
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
social: {
|
|||
|
|
title: '关注我们',
|
|||
|
|
},
|
|||
|
|
},
|
|||
|
|
copyright: '保留所有权利。',
|
|||
|
|
},
|
|||
|
|
},
|
|||
|
|
'zh-TW': {
|
|||
|
|
nav: {
|
|||
|
|
home: '首頁',
|
|||
|
|
products: '產品與服務',
|
|||
|
|
news: '新聞資訊',
|
|||
|
|
support: '客戶支持',
|
|||
|
|
about: '關於我們',
|
|||
|
|
},
|
|||
|
|
banner: {
|
|||
|
|
slides: [
|
|||
|
|
{ title: '創新科技解決方案', subtitle: '引領未來,創造無限可能', cta: '了解更多', },
|
|||
|
|
{ title: '專業服務團隊', subtitle: '為您提供全方位技術支持', cta: '聯繫我們', },
|
|||
|
|
{ title: '智能化產品體驗', subtitle: '簡化流程,提升效率', cta: '立即體驗', },
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
features: {
|
|||
|
|
title: '為什麼選擇我們',
|
|||
|
|
subtitle: '我們致力於為客戶提供最優質的產品和服務,以創新技術驅動業務發展',
|
|||
|
|
items: [
|
|||
|
|
{ icon: '🚀', title: '高性能解決方案', description: '採用最新技術架構,確保系統穩定高效運行', },
|
|||
|
|
{ icon: '🔒', title: '安全可靠', description: '多層安全防護,保障您的數據安全無憂', },
|
|||
|
|
{ icon: '⚡', title: '快速響應', description: '7x24小時技術支持,快速解決您的問題', },
|
|||
|
|
{ icon: '🎯', title: '精準定制', description: '根據您的需求量身定制專屬解決方案', },
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
products: {
|
|||
|
|
hero: {
|
|||
|
|
title: '產品與服務',
|
|||
|
|
subtitle: '全面的技術解決方案,推動您的業務向前發展',
|
|||
|
|
},
|
|||
|
|
categories: {
|
|||
|
|
all: '全部產品',
|
|||
|
|
software: '軟體解決方案',
|
|||
|
|
hardware: '硬體產品',
|
|||
|
|
consulting: '諮詢服務',
|
|||
|
|
integration: '系統整合',
|
|||
|
|
},
|
|||
|
|
items: [
|
|||
|
|
{ name: '企業管理系統', description: '全面的企業資源規劃解決方案,具備先進的分析和報告功能。', category: 'software', price: '起價 NT$29,999/月', features: ['即時分析', '雲端部署', '多平台支援', '24/7支援'], },
|
|||
|
|
{ name: 'AI智能分析平台', description: '先進的機器學習平台,用於商業智能和預測分析。', category: 'software', price: '起價 NT$44,999/月', features: ['機器學習', '預測分析', '自訂儀表板', 'API整合'], },
|
|||
|
|
{ name: '高性能伺服器', description: '企業級伺服器解決方案,具有卓越的性能和可靠性。', category: 'hardware', price: '起價 NT$149,999', features: ['高性能', '可擴展', '節能環保', '5年保固'], },
|
|||
|
|
{ name: '數位化轉型諮詢', description: '專業諮詢服務,指導您的數位化轉型之旅。', category: 'consulting', price: '客製報價', features: ['策略規劃', '實施支援', '培訓服務', '持續支援'], },
|
|||
|
|
{ name: '雲端基礎設施建置', description: '完整的雲端基礎設施設計和實施服務。', category: 'integration', price: '起價 NT$89,999', features: ['雲端遷移', '安全配置', '性能優化', '監控服務'], },
|
|||
|
|
{ name: '物聯網設備管理', description: '全面的物聯網設備管理和監控解決方案。', category: 'software', price: '起價 NT$23,999/月', features: ['設備監控', '遠端控制', '數據分析', '安全管理'], },
|
|||
|
|
],
|
|||
|
|
learnMore: '了解更多',
|
|||
|
|
cta: {
|
|||
|
|
title: '需要客製解決方案?',
|
|||
|
|
subtitle: '我們的專家隨時準備幫助您找到適合您業務需求的完美解決方案。',
|
|||
|
|
primaryButton: '獲取報價',
|
|||
|
|
secondaryButton: '預約展示',
|
|||
|
|
},
|
|||
|
|
},
|
|||
|
|
cta: {
|
|||
|
|
title: '準備開始您的數字化轉型之旅?',
|
|||
|
|
subtitle: '聯繫我們的專業團隊,獲取定制化解決方案',
|
|||
|
|
primaryButton: '免費諮詢',
|
|||
|
|
secondaryButton: '查看案例',
|
|||
|
|
},
|
|||
|
|
footer: {
|
|||
|
|
description: '專業的技術解決方案提供商,致力於為客戶創造價值。',
|
|||
|
|
sections: {
|
|||
|
|
products: {
|
|||
|
|
title: '產品服務',
|
|||
|
|
items: [
|
|||
|
|
{ label: '解決方案', href: '/products' },
|
|||
|
|
{ label: '技術諮詢', href: '/products' },
|
|||
|
|
{ label: '系統集成', href: '/products' },
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
support: {
|
|||
|
|
title: '支持',
|
|||
|
|
items: [
|
|||
|
|
{ label: '技術支持', href: '/support' },
|
|||
|
|
{ label: '文檔中心', href: '/support' },
|
|||
|
|
{ label: '聯繫我們', href: '/support' },
|
|||
|
|
],
|
|||
|
|
},
|
|||
|
|
social: {
|
|||
|
|
title: '關注我們',
|
|||
|
|
},
|
|||
|
|
},
|
|||
|
|
copyright: '保留所有權利。',
|
|||
|
|
},
|
|||
|
|
},
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
export const getTranslation = (language: Language): Translation => {
|
|||
|
|
return translations[language] || translations.en;
|
|||
|
|
};
|