From 6ba838a754c2f07754210d41f3afe650585dcd94 Mon Sep 17 00:00:00 2001
From: chengkun <chengkun@ishangstudy.com>
Date: Thu, 14 Aug 2025 18:12:03 +0800
Subject: [PATCH] 提交

---
 public/static/js/language/language.js |  262 ++++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 221 insertions(+), 41 deletions(-)

diff --git a/public/static/js/language/language.js b/public/static/js/language/language.js
index cb501a3..e619fd3 100644
--- a/public/static/js/language/language.js
+++ b/public/static/js/language/language.js
@@ -1,47 +1,227 @@
-var languages = {
+const messages = {
     'zh-cn': {
-        'supplier_info_title': '供应商信息',
-        'to_do_items': '待办事项',
-        'add': '添加',
-        'account_management': "账号管理",
-        'search': "搜索",
-        'supplier_management': "供应商管理",
-        'home_page': '首页',
-        'sign_out':"退出",
+        message: {
+            common: {
+                'contactUs': '联系我们',
+                'aboutUs': '关于我们',
+                'submit-contact-information': '提交联系方式',
+                'submit': '提交',
+                'cancel': '取消',
+                'close': '关闭',
+                'name': '姓名',
+                'email': '邮箱',
+                'phone': '手机',
+                'subject': '主题',
+                'message': '留言',
+            },
+            header: {
+                'home': '首页',
+                'about': '关于',
+                'service': '服务',
+                'blog': '推文',
+                'partners': '合作伙伴',
+                'contact': '联系我们',
+            },
+            home: {
+                'text-1': "中国汉制造·南非共享",
+                'text-2': "青年创业孵化营",
+                'text-3': "产业带推广服务",
+                'text-4': "全链路推广,让南非消费者深度感知中国制造优势",
+                'text-5': "24/7 品牌直播推广服务",
+                'text-6': "双语团队在南非平台全天直播带货",
+                'text-7': "产教融合服务",
+                'text-8': "联动院校培养跨境电商人才,填补人才供需缺口",
+                'text-9': '搭建中国优质产品与南非市场的桥梁 —— ',
+                'text-10': '我们的业务',
+                'text-11': 'C Park 南非跨境电商产业园,依托股东武汉金融控股集团(注册资本 210 亿元人民币)及长江国际贸易集团(注册资本 8 亿元人民币),计划开拓南非消费市场。以下是预估的市场数据:',
+                'text-12': '产业带合作 10+ 条中国产业带',
+                'text-13': '合作工厂 100+ 家',
+                'text-14': '青少年孵化 1000+ 名青少年',
+                'text-15': '我们的服务',
+                'text-16': '为客户业务提供的服务内容',
+                'text-17': '品牌与产业带出海服务',
+                'text-18': '整合南非市场各类资源,通过直播、产业园展厅及本土化营销方案,助力中国品牌与产业带出海布局。',
+                'text-19': '产教融合服务',
+                'text-20': '联动中南院校开展合作,定向培养跨境电商专业人才,填补行业人才供需缺口难题。',
+                'text-21': '供应链金融服务',
+                'text-22': '围绕采购、物流、库存环节设计多元融资方案,保障跨境贸易资金流转持续顺畅。',
+                'text-23': '中南贸易总额',
+                'text-24': '589.6',
+                'text-25': '对南出口额',
+                'text-26': '335.2',
+                'text-27': '对南投资存量',
+                'text-28': '37.8',
+                'text-29': '在南中企数量',
+                'text-30': '350',
+                'text-31': '亿',
+                'text-32': '我们的合作伙伴',
+                'text-33': '我们是值得信赖的合作伙伴',
+                'text-34': '中国文化中心(CCIEEC)',
+                'text-35': '南非地方政府培训署(LGSETA)',
+                'text-36': '一火跨境',
+                'text-37': '出海之路,明智之选',
+                'text-38': '全产业链聚合',
+                'text-39': '从供应商、物流、运营到售后,一站式贯通,为您提供全方位出海服务。',
+                'text-40': '规模效应降本',
+                'text-41': '依托产业园区规模效应,降低企业成本与产品出海难度。',
+                'text-42': '为什么选择我们',
+                'text-43': '我们的定价',
+                'text-44': '‌灵活客户方案',
+                'text-45': '品牌出海基础包',
+                'text-46': '¥20,000起',
+                'text-47': '整合南非直播',
+                'text-48': '展厅资源',
+                'text-49': '1v1 本土化营销方案',
+                'text-50': '快速启动出海布局',
+                'text-51': '产教融合人才包',
+                'text-52': '¥50,000 起',
+                'text-53': '联动中南院校',
+                'text-54': '定向培养跨境电商人才',
+                'text-55': '解决 “招人难、留人难” 痛点',
+                'text-56': '供应链金融保障包',
+                'text-57': '按融资额定',
+                'text-58': '采购/物流/库存全环节融资方案',
+                'text-59': '资金周转效率提升50% +',
+                'text-60': '降低出海资金压力',
+                'text-61': '购买',
+                'text-62': '合作对象',
+                'text-63': '我们正在合作的对象',
+                'text-64': '工作流程',
+                'text-65': '我们的工作流程',
+                'text-66': '立项',
+                'text-67': '精准锚定需求,明确项目目标与价值,为出海布局筑牢起点',
+                'text-68': '市场调研',
+                'text-69': '深入洞察南非市场,剖析趋势、竞品与消费需求,输出专业调研报告',
+                'text-70': '制作方案',
+                'text-71': '整合调研成果,定制品牌出海全案,涵盖营销、人才、金融等落地路径',
+                'text-72': '执行',
+                'text-73': '全流程协同推进,保障方案高效落地,实时追踪调整,确保出海目标达成',
+                'text-74': '常见问题',
+                'text-75': '客户关心的常见问题?',
+                'text-76': '合作后,能持续获得南非市场的最新信息吗?',
+                'text-77': '合作期内会通过季度报告、TikTok直播及Takealot数据,持续输出南非市场动态,重点客户可定制专项追踪。',
+                'text-78': '你们的服务只针对特定行业吗?',
+                'text-79': '聚焦跨境出海生态,覆盖消费品、科技制造等多行业,整合资源定制方案,助力不同行业布局南非。',
+                'text-80': '合作需要企业具备哪些前期条件?',
+                'text-81': '我们提供基于Cross-Border 无需复杂条件,只要有出海南非需求(拓市场、落地品牌等),从立项开始梳理资源、补认知,0基础也能启动。',
+                'text-82': '从合作到看到出海成果,需要多久?',
+                'text-83': '我们提供基于Cross-Border 分阶段推进,4 - 8周出市场报告,3 - 6个月完成初步优化,6 - 12个月实现稳定增长,最快3个月见初步成果。',
+                'text-84': '动态',
+                'text-85': '近期更新',
+            }
+        }
     },
     'en-us': {
-        'supplier_info_title': 'Supplier info',
-        'to_do_items': 'To do items',
-        'add': 'Add',
-        'account_management': "Account management",
-        'search': "Search",
-        'supplier_management': "Supplier management",
-        'home_page': 'Home page',
-        'sign_out':"Sign Out",
-    },
-};
-
-/////切换语言/////
-function switchLanguage(lang) {
-    switch_Lang(lang)
-    let url = "/supplier/login/setlang.html"
-    postRequest(url, { lang: lang }).then(res => {
-        if (res.data.code == 200) {
-            document.location.reload();
+        message: {
+            common: {
+                'contactUs': 'Contact Us',
+                'aboutUs': 'About Us',
+                'submit-contact-information': 'Submit Contact Information',
+                'submit': 'Submit',
+                'cancel': 'Cancel',
+                'close': 'Close',
+                'name': 'Name',
+                'email': 'Email',
+                'phone': 'Phone',
+                'subject': 'Subject',
+                'message': 'Message',
+            },
+            header: {
+                'home': 'Home',
+                'about': 'About',
+                'service': 'Service',
+                'blog': 'Blog',
+                'partners': 'Partners',
+                'contact': 'Contact',
+            },
+            home: {
+                'text-1': "Made In China,Used In SA",
+                'text-2': "Youth Startup Incubation",
+                'text-3': "Comprehensive promotion",
+                'text-4': "connects Chinese manufacturing strengths with South African consumers",
+                'text-5': "24/7 Brand Live Streaming",
+                'text-6': "Bilingual teams run round - the - clock live sales on SA platforms",
+                'text-7': "Industry - Education ",
+                'text-8': "Integration Collaborate with schools to train cross - border e - commerce talents, bridging talent supply - demand gaps",
+                'text-9': "We Connect Chinese Quality to South Africa's Market - ",
+                'text-10': "What We Do",
+                'text-11': 'C Park South Africa Cross - border E-commerce Industrial Park, backed by its shareholders, Wuhan Financial Holdings Group (with a registered capital of 21 billion yuan) and Changjiang International Trade Group (with a registered capital of 8 billion yuan), plans to explore the South African consumer market. Here are the projected market figures:',
+                'text-12': 'Industrial Belt Cooperation 10+ Chinese industrial belts',
+                'text-13': 'Cooperative Factories 100+',
+                'text-14': 'Youth Incubation 1000+ youths',
+                'text-15': 'OUR SERVICE',
+                'text-16': "What Services We Provide to Our Customers' Business",
+                'text-17': 'Brand & Industrial Belt Go - Global',
+                'text-18': 'Whole lot of SA market resources integrated, using live - streaming, park exhibition halls and localized marketing plans to empower Chinese brands and industrial belts going global.',
+                'text-19': 'Industry - Education Integration',
+                'text-20': "Whole lot of China - SA school collaborations launched, training cross - border e - commerce talents to fill the industry's talent supply - demand gaps.",
+                'text-21': 'Supply Chain Finance',
+                'text-22': 'Whole lot of financing solutions designed around procurement, logistics and inventory, ensuring smooth cash flow for cross - border trade.',
+                'text-23': "China - SA Trade Volume",
+                'text-24': "58.96",
+                'text-25': "Exports to SA",
+                'text-26': "33.52",
+                'text-27': "Investment Stock in SA",
+                'text-28': "3.78",
+                'text-29': "Chinese Firms in SA",
+                'text-30': "350",
+                'text-31': "B",
+                'text-32': "Our Collaborators",
+                'text-33': "We're Trusted Partners",
+                'text-34': "China Cultural Center(CCIEEC)",
+                'text-35': "Local Government Sector Education and Training Authority(South Africa)",
+                'text-36': "One Fire Cross Border",
+                'text-37': "A Wise Choice for Your Overseas Journey",
+                'text-38': 'Full - Industry Chain Integration',
+                'text-39': 'One - stop coverage from suppliers, logistics, operations to after - sales. Comprehensive overseas services for you.',
+                'text-40': 'Cost Reduction via Scale Effect',
+                'text-41': 'Leveraging the industrial park’s scale advantage. Lower enterprise costs and ease overseas product launch.',
+                'text-42': 'Why Choose Us',
+                'text-43': 'Our Pricing',
+                'text-44': 'Flexible Customer Solutions',
+                'text-45': 'Basic Brand Go - Global',
+                'text-46': 'From ¥20,000',
+                'text-47': 'SA live',
+                'text-48': 'exhibition resources integration',
+                'text-49': '1v1 localized marketing',
+                'text-50': 'quick launch',
+                'text-51': 'Talent Training Package',
+                'text-52': 'From ¥50,000',
+                'text-53': 'China - SA university collaboration',
+                'text-54': 'customized cross - border talent supply',
+                'text-55': 'Solving the Dual Challenge of Hiring and Retention‌',
+                'text-56': 'Supply Chain Finance',
+                'text-57': 'By Funding',
+                'text-58': 'End - to - end financing for procurement/logistics/inventory',
+                'text-59': '+50% capital efficiency',
+                'text-60': 'Reduce the financial pressure of going abroad',
+                'text-61': 'Buy Now',
+                'text-62': 'Cooperation Object',
+                'text-63': 'Who We’re Partnering With',
+                'text-64': 'Working Process',
+                'text-65': 'Check Out Our Work Process',
+                'text-66': 'Initiation',
+                'text-67': 'Pinpoint needs, define project goals & values, lay a solid start for overseas expansion',
+                'text-68': 'Market Research',
+                'text-69': 'Deep - dive into SA market, analyze trends, competitors & demands, deliver professional research',
+                'text-70': 'Solution Design',
+                'text-71': 'Integrate research, design tailored overseas plans, covering marketing, talent & finance',
+                'text-72': 'Execution',
+                'text-73': 'Collaborate to execute plans efficiently, track & adjust in real - time, achieve overseas goals',
+                'text-74': 'Our Faq',
+                'text-75': 'Frequently Asked Questions?',
+                'text-76': 'Can we continuously get the latest information about the South African market after cooperation?',
+                'text-77': 'During cooperation, we’ll provide continuous SA market updates via quarterly reports, TikTok live streams, and Takealot data. Custom tracking is available for key clients.',
+                'text-78': 'Is your service only for specific industries?',
+                'text-79': 'We focus on the cross - border ecosystem, covering consumer goods, tech manufacturing, etc. We integrate resources and customize plans to help diverse industries expand in SA.',
+                'text-80': 'What prerequisites does an enterprise need to have for cooperation?',
+                'text-81': 'Cross-Border No complicated prerequisites. As long as you aim to expand to SA (market expansion, brand localization, etc.), we’ll sort resources and fill knowledge gaps from initiation—even for beginners.',
+                'text-82': 'How long will it take to see the results of overseas expansion after cooperation?',
+                'text-83': 'Cross-Phased progress: 4 - 8 weeks for market reports, 3 - 6 months for initial optimization, 6 - 12 months for stable growth. Results visible in 3 months at earliest.',
+                'text-84': 'News',
+                'text-85': 'Our Recent Update',
+            }
         }
-    });
+    }
 }
-
-function switch_Lang(lang) {
-    $('[data-i18n]').each(function () {
-        var key = $(this).data('i18n');
-        $(this).text(languages[lang][key]);
-    });
-
-}
-
-$(function () {
-    var languageType = $("#languageType").val();
-    switch_Lang(languageType);
-});
 

--
Gitblit v1.9.0