init
This commit is contained in:
364
i18n/messages/en.json
Normal file
364
i18n/messages/en.json
Normal file
@@ -0,0 +1,364 @@
|
||||
{
|
||||
"LanguageDetection": {
|
||||
"title": "Language Suggestion",
|
||||
"description": "Detected that your browser language is different from the current language. You can switch languages at any time.",
|
||||
"countdown": "Will close in {countdown} seconds",
|
||||
"switchTo": "Switch to"
|
||||
},
|
||||
"Header": {
|
||||
"links": [
|
||||
{
|
||||
"name": "Homepage",
|
||||
"href": "/"
|
||||
},
|
||||
{
|
||||
"name": "About Jufeng Steel",
|
||||
"href": "/about",
|
||||
"children": [
|
||||
{
|
||||
"name": "Company Profile",
|
||||
"href": "/about/company"
|
||||
},
|
||||
{
|
||||
"name": "Corporate Culture",
|
||||
"href": "/about/culture"
|
||||
},
|
||||
{
|
||||
"name": "Production Base",
|
||||
"href": "/about/base"
|
||||
},
|
||||
{
|
||||
"name": "Organizational Structure",
|
||||
"href": "/about/organization"
|
||||
},
|
||||
{
|
||||
"name": "Honors and Qualifications",
|
||||
"href": "/about/awards"
|
||||
},
|
||||
{
|
||||
"name": "Development History",
|
||||
"href": "/about/history"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Product Center",
|
||||
"href": "/product"
|
||||
},
|
||||
{
|
||||
"name": "News Center",
|
||||
"href": "/blog",
|
||||
"children": [
|
||||
{
|
||||
"name": "Announcements",
|
||||
"href": "/blog?category=announce"
|
||||
},
|
||||
{
|
||||
"name": "News",
|
||||
"href": "/blog?category=news"
|
||||
},
|
||||
{
|
||||
"name": "Events",
|
||||
"href": "/blog?category=event"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"Footer": {
|
||||
"Copyright": "Copyright © {year} {name} All Rights Reserved.",
|
||||
"PrivacyPolicy": "Privacy Policy",
|
||||
"TermsOfService": "Terms of Service",
|
||||
"Links": {
|
||||
"groups": [
|
||||
{
|
||||
"title": "About Us",
|
||||
"links": [
|
||||
{
|
||||
"href": "/en/about/company",
|
||||
"name": "Company Profile",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/en/about/culture",
|
||||
"name": "Corporate Culture",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/en/about/base",
|
||||
"name": "Production Base",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/en/about/organization",
|
||||
"name": "Organizational Structure",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/en/about/awards",
|
||||
"name": "Honors and Qualifications",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/en/about/history",
|
||||
"name": "Development History",
|
||||
"useA": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "News Center",
|
||||
"links": [
|
||||
{
|
||||
"href": "/en/blog?category=announce",
|
||||
"name": "Announcements",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/en/blog?category=news",
|
||||
"name": "News",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/en/blog?category=event",
|
||||
"name": "Events",
|
||||
"useA": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Other Products",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://nexty.dev/",
|
||||
"name": "Nexty - SaaS Template",
|
||||
"rel": "noopener noreferrer",
|
||||
"target": "_blank"
|
||||
},
|
||||
{
|
||||
"href": "https://ogimage.click/",
|
||||
"name": "OG Image Generator",
|
||||
"rel": "noopener noreferrer",
|
||||
"target": "_blank"
|
||||
},
|
||||
{
|
||||
"href": "https://dofollow.tools/",
|
||||
"name": "Dofollow.Tools",
|
||||
"rel": "noopener noreferrer",
|
||||
"target": "_blank"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"Newsletter": {
|
||||
"title": "Subscribe to Our Newsletter",
|
||||
"description": "Get the latest Next.js news and tutorials",
|
||||
"defaultErrorMessage": "Please enter a valid email address",
|
||||
"successMessage": "Subscription successful",
|
||||
"errorMessage": "Subscription failed",
|
||||
"errorMessage2": "Subscription failed, please try again later",
|
||||
"subscribe": "Subscribe",
|
||||
"subscribing": "Subscribing",
|
||||
"subscribed": "Subscribed successfully! Thank you for your attention."
|
||||
}
|
||||
},
|
||||
"Home": {
|
||||
"title": "Jufeng Steel",
|
||||
"tagLine": "Jufeng Steel Official Website",
|
||||
"description": "Jufeng Steel Official Website",
|
||||
"carousel": "Carousel",
|
||||
"company_video": "Corporate Video",
|
||||
"company": {
|
||||
"title": "Jufeng Iron and Steel Co., Ltd.",
|
||||
"description": "Jufeng Iron and Steel Co., Ltd. is a key project in Shandong Province, one of the key projects in Jining City, and also an important project for the product structure adjustment of Kelunpu. The project adopted various construction schemes such as foreign technical general responsibility, overall introduction of key equipment, a la carte integration, domestic technical assembly, independent innovation, and introduction of single equipment, ensuring advanced technology and talent training, and ensuring the project reaches production capacity and efficiency after commissioning. Kelunpu Cold Rolling Heavy Industry Co., Ltd. has a designed annual output of 1.5 million tons, and can provide customers with various products such as hot-rolled pickling, hot-rolled galvanizing, cold-hardened, batch annealing, cold-rolled galvanizing, aluminum-zinc alloy, zinc-aluminum alloy, zinc-aluminum-magnesium, chromium plating, etc. Products cover Northeast, North China, East China, South China and other regions.",
|
||||
"button": "Learn More"
|
||||
},
|
||||
"stats": {
|
||||
"card1": {
|
||||
"number": "5",
|
||||
"title": "National-Level Green Products"
|
||||
},
|
||||
"card2": {
|
||||
"number": "3+",
|
||||
"title": "National-Level Green Factories"
|
||||
},
|
||||
"card3": {
|
||||
"number": "7",
|
||||
"title": "CNAS (National Accreditation) Laboratories"
|
||||
},
|
||||
"card4": {
|
||||
"number": "10",
|
||||
"title": "Production Bases"
|
||||
}
|
||||
},
|
||||
"news": {
|
||||
"title": "Latest News",
|
||||
"button": "Learn More >",
|
||||
"items": {
|
||||
"news1": {
|
||||
"date": "2025/11/17",
|
||||
"title": "New Development Trends in the Steel Industry",
|
||||
"link": "/blog/1"
|
||||
},
|
||||
"news2": {
|
||||
"date": "2025/11/17",
|
||||
"title": "The Great Significance of the Yajiang Project for the Steel Industry",
|
||||
"link": "/blog/2"
|
||||
},
|
||||
"news3": {
|
||||
"date": "2025/09/20",
|
||||
"title": "The Development of China's Steel Industry Urgently Needs High-Endization",
|
||||
"link": "/blog/3"
|
||||
}
|
||||
}
|
||||
},
|
||||
"products": {
|
||||
"title": "Product Center",
|
||||
"list": {
|
||||
"product1": {
|
||||
"name": "Cold-Rolled Coil",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20251021161717.jpg",
|
||||
"alt": "Cold-Rolled Coil"
|
||||
},
|
||||
"product2": {
|
||||
"name": "Cold-Hardened Coil",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20251023102339.jpg",
|
||||
"alt": "Cold-Hardened Coil"
|
||||
},
|
||||
"product3": {
|
||||
"name": "Spangle-Free Galvanized Coil",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20251102082125.jpg",
|
||||
"alt": "Spangle-Free Galvanized Coil"
|
||||
},
|
||||
"product4": {
|
||||
"name": "Cold-Rolled Hot-Dip Galvanized (Zn-Al-Mg) Steel Strip",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141215854.jpg",
|
||||
"alt": "Cold-Rolled Hot-Dip Galvanized (Zn-Al-Mg) Steel Strip"
|
||||
},
|
||||
"product5": {
|
||||
"name": "Continuous Hot-Dip Aluminized Zinc Steel Strip",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141215385.jpg",
|
||||
"alt": "Continuous Hot-Dip Aluminized Zinc Steel Strip"
|
||||
},
|
||||
"product6": {
|
||||
"name": "Zn-Al-Mg High-Speed Rail Noise Panel",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141214984.jpg",
|
||||
"alt": "Zn-Al-Mg High-Speed Rail Noise Panel"
|
||||
}
|
||||
}
|
||||
},
|
||||
"applications": {
|
||||
"title": "Application Fields",
|
||||
"groups": {
|
||||
"group1": {
|
||||
"items": {
|
||||
"app1": {
|
||||
"name": "Agricultural Machinery Parts",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141728923.jpg",
|
||||
"alt": "Agricultural Machinery Parts"
|
||||
},
|
||||
"app2": {
|
||||
"name": "Car Door",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141728646.jpg",
|
||||
"alt": "Car Door"
|
||||
},
|
||||
"app3": {
|
||||
"name": "Alloy Structural Steel Household Appliances",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141603429.jpg",
|
||||
"alt": "Alloy Structural Steel Household Appliances"
|
||||
},
|
||||
"app4": {
|
||||
"name": "Alloy Structural Steel Automobiles",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141603160.jpg",
|
||||
"alt": "Alloy Structural Steel Automobiles"
|
||||
},
|
||||
"app5": {
|
||||
"name": "Electrical Appliance Shell",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141424880.jpg",
|
||||
"alt": "Electrical Appliance Shell"
|
||||
},
|
||||
"app6": {
|
||||
"name": "Aluminized Zinc Corrugated Board",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140406472.jpg",
|
||||
"alt": "Aluminized Zinc Corrugated Board"
|
||||
}
|
||||
}
|
||||
},
|
||||
"group2": {
|
||||
"items": {
|
||||
"app7": {
|
||||
"name": "Zn-Al-Mg Photovoltaic Bracket",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141214591.jpg",
|
||||
"alt": "Zn-Al-Mg Photovoltaic Bracket"
|
||||
},
|
||||
"app8": {
|
||||
"name": "Chromium-Plated Tank",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140617337.jpg",
|
||||
"alt": "Chromium-Plated Tank"
|
||||
},
|
||||
"app9": {
|
||||
"name": "Chromium-Plated Bottle Cap",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140617054.jpg",
|
||||
"alt": "Chromium-Plated Bottle Cap"
|
||||
},
|
||||
"app10": {
|
||||
"name": "Chromium-Plated Paint Bucket Cover",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140616639.jpg",
|
||||
"alt": "Chromium-Plated Paint Bucket Cover"
|
||||
},
|
||||
"app11": {
|
||||
"name": "Aluminized Zinc Paint Bucket",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140406163.jpg",
|
||||
"alt": "Aluminized Zinc Paint Bucket"
|
||||
},
|
||||
"app12": {
|
||||
"name": "Hot-Dip Galvanized Highway Guardrail Plate",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140144026.jpg",
|
||||
"alt": "Hot-Dip Galvanized Highway Guardrail Plate"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Blog": {
|
||||
"title": "News Center",
|
||||
"description": "Latest updates, product upgrades, and industry news of Jufeng Steel"
|
||||
},
|
||||
"Product": {
|
||||
"title": "Product Center",
|
||||
"description": "Latest products, function introductions, and usage guides of Jufeng Steel",
|
||||
"detailTitle": "Product Display",
|
||||
"productModel": "Product Model",
|
||||
"productPlace": "Product Origin",
|
||||
"productPublishedTime": "Release Time",
|
||||
"productDetail": "Detailed Information",
|
||||
"productNoDetail": "No detailed information available",
|
||||
"productSpec": "Specifications & Parameters",
|
||||
"productNoSpec": "No specifications & parameters available",
|
||||
"productPacking": "Packaging",
|
||||
"productNoPacking": "No packaging information available",
|
||||
"breadcrumb": {
|
||||
"home": "Home",
|
||||
"product": "Product Center"
|
||||
},
|
||||
"pagination": {
|
||||
"previous": "Previous Page",
|
||||
"next": "Next Page"
|
||||
},
|
||||
"learnMore": "Learn More"
|
||||
},
|
||||
"About": {
|
||||
"title": "About Jufeng Steel",
|
||||
"description": "About Jufeng Steel"
|
||||
},
|
||||
"TermsOfService": {
|
||||
"title": "Terms of Service",
|
||||
"description": "Terms of Service"
|
||||
},
|
||||
"PrivacyPolicy": {
|
||||
"title": "Privacy Policy",
|
||||
"description": "Privacy Policy"
|
||||
}
|
||||
}
|
||||
139
i18n/messages/ja.json
Normal file
139
i18n/messages/ja.json
Normal file
@@ -0,0 +1,139 @@
|
||||
{
|
||||
"LanguageDetection": {
|
||||
"title": "言語の提案",
|
||||
"description": "ブラウザの言語設定が現在のサイト言語と異なっています。いつでも言語を切り替えることができます。",
|
||||
"countdown": "閉じるまで {countdown} 秒",
|
||||
"switchTo": "に切り替える"
|
||||
},
|
||||
"Header": {
|
||||
"links": [
|
||||
{
|
||||
"name": "ニュースセンター",
|
||||
"href": "/blog"
|
||||
},
|
||||
{
|
||||
"name": "サイトについて",
|
||||
"href": "/about"
|
||||
},
|
||||
{
|
||||
"name": "Source Code",
|
||||
"href": "https://github.com/weijunext/nextjs-starter",
|
||||
"target": "_blank",
|
||||
"rel": "noopener noreferrer nofollow"
|
||||
},
|
||||
{
|
||||
"name": "Pro Version",
|
||||
"href": "https://nexty.dev",
|
||||
"target": "_blank",
|
||||
"rel": "noopener noreferrer"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Footer": {
|
||||
"Copyright": "Copyright © {year} {name} All rights reserved.",
|
||||
"PrivacyPolicy": "プライバシーポリシー",
|
||||
"TermsOfService": "利用規約",
|
||||
"Links": {
|
||||
"groups": [
|
||||
{
|
||||
"title": "言語",
|
||||
"links": [
|
||||
{
|
||||
"href": "/en",
|
||||
"name": "English",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/zh",
|
||||
"name": "中文",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/ja",
|
||||
"name": "日本語",
|
||||
"useA": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "オープンソースプロジェクト",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://github.com/weijunext/nextjs-starter",
|
||||
"name": "Next Forge",
|
||||
"rel": "noopener noreferrer nofollow",
|
||||
"target": "_blank"
|
||||
},
|
||||
{
|
||||
"href": "https://github.com/weijunext/landing-page-boilerplate",
|
||||
"name": "Landing Page Boilerplate",
|
||||
"rel": "noopener noreferrer nofollow",
|
||||
"target": "_blank"
|
||||
},
|
||||
{
|
||||
"href": "https://github.com/weijunext/weekly-boilerplate",
|
||||
"name": "Blog Boilerplate",
|
||||
"rel": "noopener noreferrer nofollow",
|
||||
"target": "_blank"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "その他の製品",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://nexty.dev/",
|
||||
"name": "Nexty - SaaS Template",
|
||||
"rel": "noopener noreferrer",
|
||||
"target": "_blank"
|
||||
},
|
||||
{
|
||||
"href": "https://ogimage.click/",
|
||||
"name": "OG Image Generator",
|
||||
"rel": "noopener noreferrer",
|
||||
"target": "_blank"
|
||||
},
|
||||
{
|
||||
"href": "https://dofollow.tools/",
|
||||
"name": "Dofollow.Tools",
|
||||
"rel": "noopener noreferrer",
|
||||
"target": "_blank"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"Newsletter": {
|
||||
"title": "Next Forgeのニュースレターに登録する",
|
||||
"description": "Next Forgeの最新のニュースと更新情報を入手します。",
|
||||
"defaultErrorMessage": "有効なメールアドレスを入力してください。",
|
||||
"successMessage": "登録が完了しました。",
|
||||
"errorMessage": "登録に失敗しました。",
|
||||
"errorMessage2": "登録に失敗しました。少し待ってから再試行してください。",
|
||||
"subscribe": "登録する",
|
||||
"subscribing": "登録中...",
|
||||
"subscribed": "登録が完了しました。ありがとうございます。"
|
||||
}
|
||||
},
|
||||
"Home": {
|
||||
"title": "Next Forge",
|
||||
"tagLine": "Next.js 多言語スターターテンプレート",
|
||||
"description": "多言語対応機能を搭載したNext.js 15スターターテンプレート。SEO最適化済みで、グローバル展開可能なウェブアプリを効率的に構築できます。"
|
||||
},
|
||||
"Blog": {
|
||||
"title": "ブログ一覧",
|
||||
"description": "ブログ投稿の一覧"
|
||||
},
|
||||
"About": {
|
||||
"title": "サイトについて",
|
||||
"description": "サイトについて"
|
||||
},
|
||||
"TermsOfService": {
|
||||
"title": "サービス利用規約",
|
||||
"description": "サービス利用規約"
|
||||
},
|
||||
"PrivacyPolicy": {
|
||||
"title": "プライバシーポリシー",
|
||||
"description": "プライバシーポリシー"
|
||||
}
|
||||
}
|
||||
364
i18n/messages/vi.json
Normal file
364
i18n/messages/vi.json
Normal file
@@ -0,0 +1,364 @@
|
||||
{
|
||||
"LanguageDetection": {
|
||||
"title": "Lời đề xuất ngôn ngữ",
|
||||
"description": "Phát hiện ngôn ngữ trình duyệt của bạn khác với ngôn ngữ hiện tại. Bạn có thể đổi ngôn ngữ bất cứ lúc nào.",
|
||||
"countdown": "Sẽ đóng sau {countdown} giây",
|
||||
"switchTo": "Chuyển sang"
|
||||
},
|
||||
"Header": {
|
||||
"links": [
|
||||
{
|
||||
"name": "Trang chủ",
|
||||
"href": "/"
|
||||
},
|
||||
{
|
||||
"name": "Giới thiệu Jufeng Steel",
|
||||
"href": "/about",
|
||||
"children": [
|
||||
{
|
||||
"name": "Tổng quan công ty",
|
||||
"href": "/about/company"
|
||||
},
|
||||
{
|
||||
"name": "Văn hóa doanh nghiệp",
|
||||
"href": "/about/culture"
|
||||
},
|
||||
{
|
||||
"name": "Cơ sở sản xuất",
|
||||
"href": "/about/base"
|
||||
},
|
||||
{
|
||||
"name": "Cơ cấu tổ chức",
|
||||
"href": "/about/organization"
|
||||
},
|
||||
{
|
||||
"name": "Danh hiệu và chứng chỉ",
|
||||
"href": "/about/awards"
|
||||
},
|
||||
{
|
||||
"name": "Lịch sử phát triển",
|
||||
"href": "/about/history"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Trung tâm sản phẩm",
|
||||
"href": "/product"
|
||||
},
|
||||
{
|
||||
"name": "Trung tâm tin tức",
|
||||
"href": "/blog",
|
||||
"children": [
|
||||
{
|
||||
"name": "Thông báo",
|
||||
"href": "/blog?category=announce"
|
||||
},
|
||||
{
|
||||
"name": "Tin tức",
|
||||
"href": "/blog?category=news"
|
||||
},
|
||||
{
|
||||
"name": "Sự kiện",
|
||||
"href": "/blog?category=event"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"Footer": {
|
||||
"Copyright": "Bản quyền © {year} {name} Tất cả các quyền được bảo lưu.",
|
||||
"PrivacyPolicy": "Chính sách bảo mật",
|
||||
"TermsOfService": "Điều khoản dịch vụ",
|
||||
"Links": {
|
||||
"groups": [
|
||||
{
|
||||
"title": "Về chúng tôi",
|
||||
"links": [
|
||||
{
|
||||
"href": "/vi/about/company",
|
||||
"name": "Tổng quan công ty",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/vi/about/culture",
|
||||
"name": "Văn hóa doanh nghiệp",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/vi/about/base",
|
||||
"name": "Cơ sở sản xuất",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/vi/about/organization",
|
||||
"name": "Cơ cấu tổ chức",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/vi/about/awards",
|
||||
"name": "Danh hiệu và chứng chỉ",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/vi/about/history",
|
||||
"name": "Lịch sử phát triển",
|
||||
"useA": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Trung tâm tin tức",
|
||||
"links": [
|
||||
{
|
||||
"href": "/vi/blog?category=announce",
|
||||
"name": "Thông báo",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/vi/blog?category=news",
|
||||
"name": "Tin tức",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/vi/blog?category=event",
|
||||
"name": "Sự kiện",
|
||||
"useA": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Sản phẩm khác",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://nexty.dev/",
|
||||
"name": "Nexty - Mẫu SaaS",
|
||||
"rel": "noopener noreferrer",
|
||||
"target": "_blank"
|
||||
},
|
||||
{
|
||||
"href": "https://ogimage.click/",
|
||||
"name": "Trình tạo Hình ảnh OG",
|
||||
"rel": "noopener noreferrer",
|
||||
"target": "_blank"
|
||||
},
|
||||
{
|
||||
"href": "https://dofollow.tools/",
|
||||
"name": "Dofollow.Tools",
|
||||
"rel": "noopener noreferrer",
|
||||
"target": "_blank"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"Newsletter": {
|
||||
"title": "Đăng ký nhận email của chúng tôi",
|
||||
"description": "Nhận thông tin và hướng dẫn Next.js mới nhất",
|
||||
"defaultErrorMessage": "Vui lòng nhập địa chỉ email hợp lệ",
|
||||
"successMessage": "Đăng ký thành công",
|
||||
"errorMessage": "Đăng ký thất bại",
|
||||
"errorMessage2": "Đăng ký thất bại, vui lòng thử lại sau",
|
||||
"subscribe": "Đăng ký",
|
||||
"subscribing": "Đang đăng ký",
|
||||
"subscribed": "Đăng ký thành công! Cảm ơn sự quan tâm của bạn."
|
||||
}
|
||||
},
|
||||
"Home": {
|
||||
"title": "Jufeng Steel",
|
||||
"tagLine": "Trang web chính thức của Jufeng Steel",
|
||||
"description": "Trang web chính thức của Jufeng Steel",
|
||||
"carousel": "Trình chiếu vòng",
|
||||
"company_video": "Video doanh nghiệp",
|
||||
"company": {
|
||||
"title": "Công ty Cổ phần Thép Cự Phong",
|
||||
"description": "Công ty Cổ phần Thép Cự Phong là dự án trọng điểm của Tỉnh Sơn Đông, một trong các dự án trọng điểm của Thành phố Cơ Ninh, đồng thời cũng là dự án quan trọng cho việc điều chỉnh cấu trúc sản phẩm của Kelunpu. Dự án đã áp dụng nhiều phương án xây dựng như trách nhiệm tổng thể về kỹ thuật của bên ngoài, nhập khẩu toàn bộ thiết bị chính, tích hợp tùy chọn, tổng thành kỹ thuật trong nước, đổi mới tự chủ, nhập khẩu thiết bị đơn lẻ, đảm bảo công nghệ tiên tiến và đào tạo nhân tài, đảm bảo dự án đạt năng suất và hiệu quả sau khi đưa vào sản xuất. Công ty TNHH Công nghiệp Trọng Cán Lạnh Kelunpu có năng suất thiết kế 1,5 triệu tấn/năm, có thể cung cấp cho khách hàng các loại sản phẩm như thép cán nóng ngâm axit, thép cán nóng mạ kẽm, thép cứng lạnh, ủ nhiệt theo lô, thép cán lạnh mạ kẽm, hợp kim nhôm-kẽm, hợp kim kẽm-nhôm, kẽm-nhôm-đông, mạ crom, v.v. Sản phẩm phủ các khu vực Đông Bắc, Bắc Trung Quốc, Đông Bắc, Nam Trung Quốc và các khu vực khác.",
|
||||
"button": "Tìm hiểu thêm"
|
||||
},
|
||||
"stats": {
|
||||
"card1": {
|
||||
"number": "5",
|
||||
"title": "Sản phẩm Xanh cấp Quốc gia"
|
||||
},
|
||||
"card2": {
|
||||
"number": "3+",
|
||||
"title": "Xưởng sản xuất Xanh cấp Quốc gia"
|
||||
},
|
||||
"card3": {
|
||||
"number": "7",
|
||||
"title": "Phòng thí nghiệm CNAS (Chấp nhận Quốc gia)"
|
||||
},
|
||||
"card4": {
|
||||
"number": "10",
|
||||
"title": "Cơ sở sản xuất"
|
||||
}
|
||||
},
|
||||
"news": {
|
||||
"title": "Tin tức mới nhất",
|
||||
"button": "Tìm hiểu thêm >",
|
||||
"items": {
|
||||
"news1": {
|
||||
"date": "2025/11/17",
|
||||
"title": "Xu hướng phát triển mới của ngành thép",
|
||||
"link": "/blog/1"
|
||||
},
|
||||
"news2": {
|
||||
"date": "2025/11/17",
|
||||
"title": "Ý nghĩa quan trọng của Dự án Yajiang đối với ngành thép",
|
||||
"link": "/blog/2"
|
||||
},
|
||||
"news3": {
|
||||
"date": "2025/09/20",
|
||||
"title": "Phát triển ngành thép Trung Quốc đòi hỏi sự cao cấp hóa",
|
||||
"link": "/blog/3"
|
||||
}
|
||||
}
|
||||
},
|
||||
"products": {
|
||||
"title": "Trung tâm sản phẩm",
|
||||
"list": {
|
||||
"product1": {
|
||||
"name": "Cuộn thép cán lạnh",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20251021161717.jpg",
|
||||
"alt": "Cuộn thép cán lạnh"
|
||||
},
|
||||
"product2": {
|
||||
"name": "Cuộn thép cứng lạnh",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20251023102339.jpg",
|
||||
"alt": "Cuộn thép cứng lạnh"
|
||||
},
|
||||
"product3": {
|
||||
"name": "Cuộn thép mạ kẽm không hoa",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20251102082125.jpg",
|
||||
"alt": "Cuộn thép mạ kẽm không hoa"
|
||||
},
|
||||
"product4": {
|
||||
"name": "Dải thép cán lạnh mạ kẽm nóng (Zn-Al-Mg)",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141215854.jpg",
|
||||
"alt": "Dải thép cán lạnh mạ kẽm nóng (Zn-Al-Mg)"
|
||||
},
|
||||
"product5": {
|
||||
"name": "Dải thép mạ nhôm kẽm liên tục",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141215385.jpg",
|
||||
"alt": "Dải thép mạ nhôm kẽm liên tục"
|
||||
},
|
||||
"product6": {
|
||||
"name": "Tấm chống ồn đường cao tốc bằng thép Zn-Al-Mg",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141214984.jpg",
|
||||
"alt": "Tấm chống ồn đường cao tốc bằng thép Zn-Al-Mg"
|
||||
}
|
||||
}
|
||||
},
|
||||
"applications": {
|
||||
"title": "Lĩnh vực ứng dụng",
|
||||
"groups": {
|
||||
"group1": {
|
||||
"items": {
|
||||
"app1": {
|
||||
"name": "Phụ tùng máy móc nông nghiệp",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141728923.jpg",
|
||||
"alt": "Phụ tùng máy móc nông nghiệp"
|
||||
},
|
||||
"app2": {
|
||||
"name": "Cửa ô tô",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141728646.jpg",
|
||||
"alt": "Cửa ô tô"
|
||||
},
|
||||
"app3": {
|
||||
"name": "Thiết bị gia dụng bằng thép cấu trúc hợp kim",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141603429.jpg",
|
||||
"alt": "Thiết bị gia dụng bằng thép cấu trúc hợp kim"
|
||||
},
|
||||
"app4": {
|
||||
"name": "Xe ô tô bằng thép cấu trúc hợp kim",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141603160.jpg",
|
||||
"alt": "Xe ô tô bằng thép cấu trúc hợp kim"
|
||||
},
|
||||
"app5": {
|
||||
"name": "Vỏ thiết bị điện",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141424880.jpg",
|
||||
"alt": "Vỏ thiết bị điện"
|
||||
},
|
||||
"app6": {
|
||||
"name": "Tấm sóng mạ nhôm kẽm",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140406472.jpg",
|
||||
"alt": "Tấm sóng mạ nhôm kẽm"
|
||||
}
|
||||
}
|
||||
},
|
||||
"group2": {
|
||||
"items": {
|
||||
"app7": {
|
||||
"name": "Khung đỡ năng lượng mặt trời Zn-Al-Mg",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141214591.jpg",
|
||||
"alt": "Khung đỡ năng lượng mặt trời Zn-Al-Mg"
|
||||
},
|
||||
"app8": {
|
||||
"name": "Bình mạ crom",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140617337.jpg",
|
||||
"alt": "Bình mạ crom"
|
||||
},
|
||||
"app9": {
|
||||
"name": "Nắp chai mạ crom",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140617054.jpg",
|
||||
"alt": "Nắp chai mạ crom"
|
||||
},
|
||||
"app10": {
|
||||
"name": "Nắp thùng sơn mạ crom",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140616639.jpg",
|
||||
"alt": "Nắp thùng sơn mạ crom"
|
||||
},
|
||||
"app11": {
|
||||
"name": "Thùng sơn mạ nhôm kẽm",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140406163.jpg",
|
||||
"alt": "Thùng sơn mạ nhôm kẽm"
|
||||
},
|
||||
"app12": {
|
||||
"name": "Tấm lan can đường cao tốc mạ kẽm nóng",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140144026.jpg",
|
||||
"alt": "Tấm lan can đường cao tốc mạ kẽm nóng"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Blog": {
|
||||
"title": "Trung tâm tin tức",
|
||||
"description": "Cập nhật mới nhất, nâng cấp sản phẩm, tin tức ngành của Jufeng Steel"
|
||||
},
|
||||
"Product": {
|
||||
"title": "Trung tâm sản phẩm",
|
||||
"description": "Sản phẩm mới nhất, giới thiệu chức năng, hướng dẫn sử dụng của Jufeng Steel",
|
||||
"detailTitle": "Hiển thị sản phẩm",
|
||||
"productModel": "Mã sản phẩm",
|
||||
"productPlace": "Nguồn gốc sản phẩm",
|
||||
"productPublishedTime": "Thời gian phát hành",
|
||||
"productDetail": "Thông tin chi tiết",
|
||||
"productNoDetail": "Không có thông tin chi tiết",
|
||||
"productSpec": "Thông số kỹ thuật",
|
||||
"productNoSpec": "Không có thông số kỹ thuật",
|
||||
"productPacking": "Bao bì",
|
||||
"productNoPacking": "Không có thông tin bao bì",
|
||||
"breadcrumb": {
|
||||
"home": "Trang chủ",
|
||||
"product": "Trung tâm sản phẩm"
|
||||
},
|
||||
"pagination": {
|
||||
"previous": "Trang trước",
|
||||
"next": "Trang sau"
|
||||
},
|
||||
"learnMore": "Tìm hiểu thêm"
|
||||
},
|
||||
"About": {
|
||||
"title": "Giới thiệu Jufeng Steel",
|
||||
"description": "Về Jufeng Steel"
|
||||
},
|
||||
"TermsOfService": {
|
||||
"title": "Điều khoản dịch vụ",
|
||||
"description": "Điều khoản dịch vụ"
|
||||
},
|
||||
"PrivacyPolicy": {
|
||||
"title": "Chính sách bảo mật",
|
||||
"description": "Chính sách bảo mật"
|
||||
}
|
||||
}
|
||||
343
i18n/messages/zh.json
Normal file
343
i18n/messages/zh.json
Normal file
@@ -0,0 +1,343 @@
|
||||
{
|
||||
"LanguageDetection": {
|
||||
"title": "语言建议",
|
||||
"description": "检测到你的浏览器语言和当前语言不一样,你随时都可切换语言。",
|
||||
"countdown": "将在 {countdown} 秒后关闭",
|
||||
"switchTo": "切换到"
|
||||
},
|
||||
"Header": {
|
||||
"links": [
|
||||
{
|
||||
"name": "网站首页",
|
||||
"href": "/"
|
||||
},
|
||||
{
|
||||
"name": "走进武汉萨格",
|
||||
"href": "/about/company"
|
||||
},
|
||||
{
|
||||
"name": "车间展示",
|
||||
"href": "/workshop",
|
||||
"children": [
|
||||
{
|
||||
"name": "机械加工车间",
|
||||
"href": "/workshop/machine"
|
||||
},
|
||||
{
|
||||
"name": "热处理车间",
|
||||
"href": "/workshop/heat-treatment"
|
||||
},
|
||||
{
|
||||
"name": "装配车间",
|
||||
"href": "/workshop/assembly"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "机组产品",
|
||||
"href": "/line",
|
||||
"children": [
|
||||
{
|
||||
"name": "热镀锌 / 镀铝锌机组",
|
||||
"href": "/line/zinc"
|
||||
},
|
||||
{
|
||||
"name": "锌铝镁机组",
|
||||
"href": "/line/magnesium"
|
||||
},
|
||||
{
|
||||
"name": "彩涂机组",
|
||||
"href": "/line/paint"
|
||||
},
|
||||
{
|
||||
"name": "高效电工钢(硅钢)连续处理机组",
|
||||
"href": "/line/electric-steel"
|
||||
},
|
||||
{
|
||||
"name": "碳钢酸洗机组",
|
||||
"href": "/line/carbon-steel"
|
||||
},
|
||||
{
|
||||
"name": "不锈钢连续退火酸洗机组",
|
||||
"href": "/line/stainless-steel-heat-treatment"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"Footer": {
|
||||
"Copyright": "版权所有 © {year} {name} 保留所有权利。",
|
||||
"PrivacyPolicy": "隐私政策",
|
||||
"TermsOfService": "服务条款",
|
||||
"Links": {
|
||||
"groups": [
|
||||
{
|
||||
"title": "关于我们",
|
||||
"links": [
|
||||
{
|
||||
"href": "/zh/about/company",
|
||||
"name": "公司简介",
|
||||
"useA": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "新闻中心",
|
||||
"links": [
|
||||
{
|
||||
"href": "/zh/blog?category=announce",
|
||||
"name": "公告",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/zh/blog?category=news",
|
||||
"name": "新闻",
|
||||
"useA": true
|
||||
},
|
||||
{
|
||||
"href": "/zh/blog?category=event",
|
||||
"name": "活动",
|
||||
"useA": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "其他产品",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://nexty.dev/",
|
||||
"name": "Nexty - SaaS Template",
|
||||
"rel": "noopener noreferrer",
|
||||
"target": "_blank"
|
||||
},
|
||||
{
|
||||
"href": "https://ogimage.click/",
|
||||
"name": "OG Image Generator",
|
||||
"rel": "noopener noreferrer",
|
||||
"target": "_blank"
|
||||
},
|
||||
{
|
||||
"href": "https://dofollow.tools/",
|
||||
"name": "Dofollow.Tools",
|
||||
"rel": "noopener noreferrer",
|
||||
"target": "_blank"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"Newsletter": {
|
||||
"title": "订阅我们的邮件",
|
||||
"description": "获取最新的 Next.js 资讯和教程",
|
||||
"defaultErrorMessage": "请输入有效的邮箱地址",
|
||||
"successMessage": "订阅成功",
|
||||
"errorMessage": "订阅失败",
|
||||
"errorMessage2": "订阅失败,请稍后再试",
|
||||
"subscribe": "订阅",
|
||||
"subscribing": "订阅中",
|
||||
"subscribed": "订阅成功!感谢您的关注。"
|
||||
}
|
||||
},
|
||||
"Home": {
|
||||
"title": "武汉萨格",
|
||||
"tagLine": "武汉萨格官网",
|
||||
"description": "武汉萨格官网",
|
||||
"carousel": "轮播图",
|
||||
"company_video": "企业视频",
|
||||
"company": {
|
||||
"title": "武汉萨格股份有限公司",
|
||||
"description": "武汉萨格股份有限公司是山东省重点工程项目,是济宁市工程之一,也是科伦普产品结构调整重要的工程项目。工程采用了外方技术总负责、关键设备整体引进、点菜集成、国内技术总成、自主创新、单体设备引进等多种建设方 案,保证了技术先进和人才的培养,确保工程投产后达产达效。科伦普冷轧重工有限公司是设计年产量150万 吨,能向广大用户提供热轧酸洗、热轧镀锌、冷硬、罩式退火、冷轧镀锌、铝锌合金、锌铝合金、锌铝镁、镀铬等各大类产品。产品覆盖东北、华北、华东、华南等地区。 ",
|
||||
"button": "了解更多"
|
||||
},
|
||||
"stats": {
|
||||
"card1": {
|
||||
"number": "5",
|
||||
"title": "国家级绿色产品"
|
||||
},
|
||||
"card2": {
|
||||
"number": "3+",
|
||||
"title": "国家级绿色工厂"
|
||||
},
|
||||
"card3": {
|
||||
"number": "7",
|
||||
"title": "CNAS(国家认可)实验室"
|
||||
},
|
||||
"card4": {
|
||||
"number": "10",
|
||||
"title": "生产基地"
|
||||
}
|
||||
},
|
||||
"news": {
|
||||
"title": "最新资讯",
|
||||
"button": "了解更多 >",
|
||||
"items": {
|
||||
"news1": {
|
||||
"date": "2025/11/17",
|
||||
"title": "钢铁行业发展新趋势",
|
||||
"link": "/blog/1"
|
||||
},
|
||||
"news2": {
|
||||
"date": "2025/11/17",
|
||||
"title": "雅江工程就钢铁行业的重大意义",
|
||||
"link": "/blog/2"
|
||||
},
|
||||
"news3": {
|
||||
"date": "2025/09/20",
|
||||
"title": "中国钢铁行业发展亟需高端化",
|
||||
"link": "/blog/3"
|
||||
}
|
||||
}
|
||||
},
|
||||
"products": {
|
||||
"title": "产品中心",
|
||||
"list": {
|
||||
"product1": {
|
||||
"name": "冷轧卷",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20251021161717.jpg",
|
||||
"alt": "冷轧卷"
|
||||
},
|
||||
"product2": {
|
||||
"name": "冷硬卷",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20251023102339.jpg",
|
||||
"alt": "冷硬卷"
|
||||
},
|
||||
"product3": {
|
||||
"name": "无花镀锌卷",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20251102082125.jpg",
|
||||
"alt": "无花镀锌卷"
|
||||
},
|
||||
"product4": {
|
||||
"name": "冷轧热镀锌(锌铝镁)钢带",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141215854.jpg",
|
||||
"alt": "冷轧热镀锌(锌铝镁)钢带"
|
||||
},
|
||||
"product5": {
|
||||
"name": "连续镀铝锌带钢",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141215385.jpg",
|
||||
"alt": "连续镀铝锌带钢"
|
||||
},
|
||||
"product6": {
|
||||
"name": "锌铝镁高铁声噪板",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141214984.jpg",
|
||||
"alt": "锌铝镁高铁声噪板"
|
||||
}
|
||||
}
|
||||
},
|
||||
"applications": {
|
||||
"title": "应用领域",
|
||||
"groups": {
|
||||
"group1": {
|
||||
"items": {
|
||||
"app1": {
|
||||
"name": "农机配件",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141728923.jpg",
|
||||
"alt": "农机配件"
|
||||
},
|
||||
"app2": {
|
||||
"name": "汽车门",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141728646.jpg",
|
||||
"alt": "汽车门"
|
||||
},
|
||||
"app3": {
|
||||
"name": "合金结构钢家电",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141603429.jpg",
|
||||
"alt": "合金结构钢家电"
|
||||
},
|
||||
"app4": {
|
||||
"name": "合金结构钢汽车",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141603160.jpg",
|
||||
"alt": "合金结构钢汽车"
|
||||
},
|
||||
"app5": {
|
||||
"name": "电器外壳",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141424880.jpg",
|
||||
"alt": "电器外壳"
|
||||
},
|
||||
"app6": {
|
||||
"name": "镀铝锌瓦楞板",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140406472.jpg",
|
||||
"alt": "镀铝锌瓦楞板"
|
||||
}
|
||||
}
|
||||
},
|
||||
"group2": {
|
||||
"items": {
|
||||
"app7": {
|
||||
"name": "锌铝镁光伏支架",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318141214591.jpg",
|
||||
"alt": "锌铝镁光伏支架"
|
||||
},
|
||||
"app8": {
|
||||
"name": "镀铬罐",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140617337.jpg",
|
||||
"alt": "镀铬罐"
|
||||
},
|
||||
"app9": {
|
||||
"name": "镀铬瓶盖",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140617054.jpg",
|
||||
"alt": "镀铬瓶盖"
|
||||
},
|
||||
"app10": {
|
||||
"name": "镀铬油漆桶盖",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140616639.jpg",
|
||||
"alt": "镀铬油漆桶盖"
|
||||
},
|
||||
"app11": {
|
||||
"name": "镀铝锌油漆桶",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140406163.jpg",
|
||||
"alt": "镀铝锌油漆桶"
|
||||
},
|
||||
"app12": {
|
||||
"name": "热镀锌高速护栏板",
|
||||
"image": "http://kelunpuzhonggong.com/upload/20250318140144026.jpg",
|
||||
"alt": "热镀锌高速护栏板"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"Blog": {
|
||||
"title": "新闻中心",
|
||||
"description": "武汉萨格最新动态,产品更新,行业资讯"
|
||||
},
|
||||
"Product": {
|
||||
"title": "产品中心",
|
||||
"description": "武汉萨格最新产品,功能介绍,使用指南",
|
||||
"detailTitle": "产品展示",
|
||||
"productModel": "产品型号",
|
||||
"productPlace": "产品产地",
|
||||
"productPublishedTime": "发布时间",
|
||||
"productDetail": "详细资料",
|
||||
"productNoDetail": "暂无详细资料",
|
||||
"productSpec": "规格参数",
|
||||
"productNoSpec": "暂无规格参数",
|
||||
"productPacking": "包装",
|
||||
"productNoPacking": "暂无包装",
|
||||
"breadcrumb": {
|
||||
"home": "首页",
|
||||
"product": "产品中心"
|
||||
},
|
||||
"pagination": {
|
||||
"previous": "上一页",
|
||||
"next": "下一页"
|
||||
},
|
||||
"learnMore": "了解更多"
|
||||
},
|
||||
"About": {
|
||||
"title": "走进武汉萨格",
|
||||
"description": "关于武汉萨格"
|
||||
},
|
||||
"TermsOfService": {
|
||||
"title": "服务条款",
|
||||
"description": "服务条款"
|
||||
},
|
||||
"PrivacyPolicy": {
|
||||
"title": "隐私政策",
|
||||
"description": "隐私政策"
|
||||
},
|
||||
"Workshop": {
|
||||
"pageTitle": "车间展示",
|
||||
"pageDesc": "车间展示"
|
||||
}
|
||||
}
|
||||
32
i18n/request.ts
Normal file
32
i18n/request.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
import { getRequestConfig } from 'next-intl/server';
|
||||
import { routing } from './routing';
|
||||
|
||||
export default getRequestConfig(async ({ requestLocale }) => {
|
||||
// This typically corresponds to the `[locale]` segment
|
||||
let locale = await requestLocale;
|
||||
|
||||
if (locale?.startsWith('zh')) {
|
||||
locale = 'zh';
|
||||
} else if (locale?.startsWith('en')) {
|
||||
locale = 'en';
|
||||
}
|
||||
// else if (locale?.startsWith('vi')) {
|
||||
// locale = 'vi';
|
||||
// }
|
||||
else {
|
||||
locale = 'zh';
|
||||
}
|
||||
|
||||
// Ensure that a valid locale is used
|
||||
if (!locale || !routing.locales.includes(locale as any)) {
|
||||
return {
|
||||
locale: routing.defaultLocale,
|
||||
messages: (await import(`./messages/${routing.defaultLocale}.json`)).default
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
locale,
|
||||
messages: (await import(`./messages/${locale}.json`)).default
|
||||
};
|
||||
});
|
||||
36
i18n/routing.ts
Normal file
36
i18n/routing.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
import { createNavigation } from 'next-intl/navigation';
|
||||
import { defineRouting } from 'next-intl/routing';
|
||||
|
||||
export const LOCALES = ['en', 'zh']
|
||||
export const DEFAULT_LOCALE = 'zh'
|
||||
export const LOCALE_NAMES: Record<string, string> = {
|
||||
'en': "English",
|
||||
'zh': "中文",
|
||||
// 'vi': "Tiếng Việt",
|
||||
};
|
||||
|
||||
export const routing = defineRouting({
|
||||
// A list of all locales that are supported
|
||||
locales: LOCALES,
|
||||
|
||||
// Used when no locale matches
|
||||
defaultLocale: DEFAULT_LOCALE,
|
||||
|
||||
// auto detect locale
|
||||
localeDetection: process.env.NEXT_PUBLIC_LOCALE_DETECTION === 'true',
|
||||
|
||||
localePrefix: 'always',
|
||||
});
|
||||
|
||||
// Lightweight wrappers around Next.js' navigation APIs
|
||||
// that will consider the routing configuration
|
||||
export const {
|
||||
Link,
|
||||
redirect,
|
||||
usePathname,
|
||||
useRouter,
|
||||
getPathname,
|
||||
} = createNavigation(routing);
|
||||
|
||||
|
||||
export type Locale = (typeof routing.locales)[number];
|
||||
Reference in New Issue
Block a user