Loading...
Loading...
Steedos metadata internationalization (i18n) system. Two file types: translation files (.translation.yml) for app names, tab labels, and custom labels; objectTranslation files (.objectTranslation.yml) for object labels, field labels/help/options, listview labels, action labels, group labels, and object-scoped CustomLabels. Covers directory structure, naming conventions, supported languages (en, zh-CN), and all translatable metadata sections.
npx skill4agent add steedos/steedos-platform translations.translation.yml.objectTranslation.yml.translation.yml.objectTranslation.yml| Language Code | Language |
|---|---|
| English |
| 简体中文 (Simplified Chinese) |
[namespace.]{lang}.translation.ymlmain/default/translations/en.translation.ymlzh-CN.translation.ymlcore.en.translation.yml| Format | Description |
|---|---|
| Default translation file for the package |
| Namespaced translation file (e.g., |
CustomApplications:
{app_code}:
name: Application display name
description: Application description
groups:
{group_key}: Group display name
CustomTabs:
{tab_name}: Tab display name
CustomLabels:
{label_key}: Label valueCustomApplications:
admin:
name: Setup
description: Manage company, users, permissions and so on.
groups:
personal_settings: Personal Settings
company_settings: Company Settings
object_settings: Object Settings
development: Development
process_automation: Process AutomationCustomApplications:
admin:
name: 设置
description: 管理员设置公司、人员、权限等。
groups:
personal_settings: 个人设置
company_settings: 公司设置
object_settings: 对象设置
development: 开发
process_automation: 流程自动化name.tab.ymlname.tab.ymlCustomTabs:
admin_space_users: Users
admin_permission_set: Profiles & Permission Sets
admin_objects: Objects
admin_pages: Custom Pages
admin_tabs: Tabs
admin_audit_records: Audit Records
admin_api_keys: API KeysCustomTabs:
admin_space_users: 人员
admin_permission_set: 简档 & 权限集
admin_objects: 对象
admin_pages: 微页面
admin_tabs: 选项卡
admin_audit_records: 审计日志
admin_api_keys: API Key{$variableName}{$variableName}CustomLabels:
menu_account: My Account
menu_organizations: Departments
menu_apps: Apps
menu_steedos_packages: Packages
delete_required_lookup_record_error: "Your attempt to delete could not be completed because it is associated with the following {$objectLabel}: {$recordName}"CustomLabels:
menu_account: 个人设置
menu_organizations: 部门
menu_apps: 应用程序
menu_steedos_packages: 软件包
delete_required_lookup_record_error: "无法完成您对当前记录的删除尝试,因为它与以下{$objectLabel}关联。:{$recordName}"en.translation.ymlCustomApplications:
contract_management:
name: Contract Management
description: Manage contracts and agreements
groups:
contracts: Contracts
settings: Settings
CustomTabs:
object_contract: Contracts
object_customer: Customers
contract_dashboard: Dashboard
CustomLabels:
contract_expired_warning: "Contract {$contractName} has expired"
contract_status_active: Active
contract_status_expired: Expiredzh-CN.translation.ymlCustomApplications:
contract_management:
name: 合同管理
description: 管理合同和协议
groups:
contracts: 合同
settings: 设置
CustomTabs:
object_contract: 合同
object_customer: 客户
contract_dashboard: 仪表板
CustomLabels:
contract_expired_warning: "合同 {$contractName} 已过期"
contract_status_active: 有效
contract_status_expired: 已过期{objectName}.{lang}.objectTranslation.ymlmain/default/objectTranslations/{objectName}.{lang}/main/default/objectTranslations/
├── contracts.en/
│ └── contracts.en.objectTranslation.yml
├── contracts.zh-CN/
│ └── contracts.zh-CN.objectTranslation.yml
├── customers.en/
│ └── customers.en.objectTranslation.yml
└── customers.zh-CN/
└── customers.zh-CN.objectTranslation.ymlname: object_api_name
label: Object display name
description: Object description
fields:
{field_name}:
label: Field display name
help: Field help text
description: Field description
options: # For select/picklist fields
- label: Option display name
value: option_value
groups:
{group_name}: Group display name
listviews:
{view_name}:
label: View display name
actions:
{action_name}:
label: Action display name
CustomLabels:
{label_key}: Label valuename: contracts
label: Contracts
description: Contract recordsname: contracts
label: 合同
description: 合同记录fields:
name:
label: Contract Name
help: Enter the official contract name
description: The legal name of the contract
status:
label: Status
help: Current contract status
description:
options:
- label: Draft
value: draft
- label: Active
value: active
- label: Expired
value: expired
- label: Terminated
value: terminated
amount:
label: Amount
help:
description: Total contract amount
customer:
label: Customer
help:
description: fields:
name:
label: 合同名称
help: 请输入正式合同名称
description: 合同的法律名称
status:
label: 状态
help: 当前合同状态
description:
options:
- label: 草稿
value: draft
- label: 有效
value: active
- label: 已过期
value: expired
- label: 已终止
value: terminated
amount:
label: 金额
help:
description: 合同总金额
customer:
label: 客户
help:
description: .object.yml.object.ymlgroups:
basic_info: Basic Information
financial: Financial Details
system_information: System Informationgroups:
basic_info: 基本信息
financial: 财务详情
system_information: 系统信息listviews:
all:
label: All Contracts
recent:
label: Recently Viewed
active:
label: Active Contracts
expired:
label: Expired Contractslistviews:
all:
label: 所有合同
recent:
label: 最近查看
active:
label: 有效合同
expired:
label: 已过期合同actions:
standard_new:
label: New
standard_edit:
label: Edit
standard_delete:
label: Delete
standard_query:
label: Search
approve:
label: Submit for Approval
renew:
label: Renew Contractactions:
standard_new:
label: 新建
standard_edit:
label: 编辑
standard_delete:
label: 删除
standard_query:
label: 查找
approve:
label: 提交审批
renew:
label: 续签合同CustomLabels:
contract_cannot_delete: "Cannot delete contract in active status"
contract_amount_exceeded: "Contract amount exceeds budget limit"CustomLabels:
contract_cannot_delete: "无法删除有效状态的合同"
contract_amount_exceeded: "合同金额超出预算限额"contracts.en/contracts.en.objectTranslation.ymlname: contracts
label: Contract
description: Contract management
fields:
name:
label: Contract Name
help: Enter the official contract name
description:
status:
label: Status
help:
description:
options:
- label: Draft
value: draft
- label: Active
value: active
- label: Expired
value: expired
amount:
label: Amount
help:
description:
customer:
label: Customer
help:
description:
start_date:
label: Start Date
help:
description:
end_date:
label: End Date
help:
description:
groups:
basic_info: Basic Information
financial: Financial Details
listviews:
all:
label: All Contracts
recent:
label: Recently Viewed
active:
label: Active Contracts
actions:
standard_new:
label: New
standard_edit:
label: Edit
standard_delete:
label: Delete
approve:
label: Submit for Approval
renew:
label: Renew
CustomLabels:
contract_expired_notify: "This contract expired on {$date}"contracts.zh-CN/contracts.zh-CN.objectTranslation.ymlname: contracts
label: 合同
description: 合同管理
fields:
name:
label: 合同名称
help: 请输入正式合同名称
description:
status:
label: 状态
help:
description:
options:
- label: 草稿
value: draft
- label: 有效
value: active
- label: 已过期
value: expired
amount:
label: 金额
help:
description:
customer:
label: 客户
help:
description:
start_date:
label: 开始日期
help:
description:
end_date:
label: 结束日期
help:
description:
groups:
basic_info: 基本信息
financial: 财务详情
listviews:
all:
label: 所有合同
recent:
label: 最近查看
active:
label: 有效合同
actions:
standard_new:
label: 新建
standard_edit:
label: 编辑
standard_delete:
label: 删除
approve:
label: 提交审批
renew:
label: 续签
CustomLabels:
contract_expired_notify: "该合同已于 {$date} 过期"steedos-packages/
└── my-package/
└── main/
└── default/
├── translations/
│ ├── en.translation.yml
│ └── zh-CN.translation.yml
└── objectTranslations/
├── contracts.en/
│ └── contracts.en.objectTranslation.yml
├── contracts.zh-CN/
│ └── contracts.zh-CN.objectTranslation.yml
├── customers.en/
│ └── customers.en.objectTranslation.yml
└── customers.zh-CN/
└── customers.zh-CN.objectTranslation.yml| Action Key | English | 中文 |
|---|---|---|
| New | 新建 |
| Edit | 编辑 |
| Delete | 删除 |
| Delete | 删除 |
| Search | 查找 |
| View | 查看 |
| Submit for Approval | 发起审批 |
| View Approval | 查看审批单 |
| Follow | 关注 |
| Submit for Approval | 提请批准 |
| Import Data | 导入数据 |
| Export | 导出 |
| 打印 | |
| Apply | 申请 |
enzh-CNenzh-CNfields:
priority:
label: 优先级
options:
- label: 高
value: high
- label: 中
value: medium
- label: 低
value: lowfields:
formula_field:
label: 计算金额
help: 此字段根据数量和单价自动计算,无需手动填写
description: {$variable}{$variable}CustomLabels:
record_created_success: "Record {$recordName} created successfully"
validation_min_amount: "Amount must be greater than {$minAmount}"contracts.zh-CN.objectTranslation.ymlcontracts.zh-CN/namevalue{$variableName}