feat(i18n): 更新中英文翻译及国际化支持

- 在Workshop和Line模块中添加新的翻译字段
- 修复页面中硬编码的文本,改为使用翻译
- 更新产品线和车间展示的英文翻译内容
- 为卡片组件添加locale属性传递
This commit is contained in:
砂糖
2026-02-03 17:18:13 +08:00
parent 86c20e5ef7
commit e7a428d8f0
7 changed files with 65 additions and 44 deletions

View File

@@ -72,56 +72,66 @@
"Links": {
"groups": [
{
"title": "About Us",
"title": "About Wuhan Sage",
"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",
"name": "Company Introduction",
"useA": true
}
]
},
{
"title": "News Center",
"title": "Workshop Exhibition",
"links": [
{
"href": "/en/blog?category=announce",
"name": "Announcements",
"href": "/en/workshop/assembly",
"name": "Assembly Workshop",
"useA": true
},
{
"href": "/en/blog?category=news",
"name": "News",
"href": "/en/workshop/heat-treatment",
"name": "Heat Treatment Workshop",
"useA": true
},
{
"href": "/en/blog?category=event",
"name": "Events",
"href": "/en/workshop/machine",
"name": "Machining Workshop",
"useA": true
}
]
},
{
"title": "Mill Unit Products",
"links": [
{
"href": "/en/line/zinc",
"name": "Hot-dip Galvanizing / Galvalume Mill Unit",
"useA": true
},
{
"href": "/en/line/magnesium",
"name": "Zinc-Aluminum-Magnesium Coating Mill Unit",
"useA": true
},
{
"href": "/en/line/paint",
"name": "Color Coating Mill Unit",
"useA": true
},
{
"href": "/en/line/electric-steel",
"name": "High-efficiency Electrical Steel (Silicon Steel) Continuous Processing Mill Unit",
"useA": true
},
{
"href": "/en/line/carbon-steel",
"name": "Carbon Steel Pickling Mill Unit",
"useA": true
},
{
"href": "/en/line/stainless-steel-heat-treatment",
"name": "Stainless Steel Continuous Annealing & Pickling Mill Unit",
"useA": true
}
]
@@ -317,10 +327,16 @@
},
"Workshop": {
"pageTitle": "Workshop Exhibition",
"pageDesc": "Workshop Exhibition"
"pageDesc": "Workshop Exhibition",
"pageImages": "Workshop Images"
},
"Line": {
"pageTitle": "Mill Unit Products",
"productImages": "Mill Unit Images",
"productProperties": "Mill Unit Properties"
},
"About": {
"title": "About Wuhan Saga Engineering Technology",
"title": "About Wuhan Saga",
"description": "About Wuhan Saga Engineering Technology"
},
"TermsOfService": {