Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Sep 23, 2024
1 parent c90b5c8 commit c8d1132
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 63 deletions.
32 changes: 1 addition & 31 deletions src/config-provider/config-provider.en-US.md
Original file line number Diff line number Diff line change
@@ -1,31 +1 @@
---
title: "Global property configuration"
description: "The global attribute configuration contains the text language configuration of each component and other common configurations to reduce duplicate common configurations."
isComponent: true
tdDocTabs: [{ tab: 'demo', name: '示例' }, { tab: 'api', name: 'API' }]
toc: false
---

### Internationalization

The supported language TDesign provided:

Language | File
-- | --
Chinese (Simplified) | `zh_CN`
English | `en_US`


If you want to contribute more language packs, please refer to [How to add a language pack](https://github.com/Tencent/tdesign-common/blob/develop/js/global-config/locale/CONTRIBUTING.md) PR.

### Upload

{{ upload-en }}

### Table

{{ table-en }}

### others

{{ other-en }}
:: BASE_DOC ::
33 changes: 1 addition & 32 deletions src/config-provider/config-provider.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,4 @@
---
title: 全局特性配置
description: 全局特性配置包含各个组件的文本语言配置及其他通用配置,可以减少重复的通用配置。
spline: base
isComponent: true
tdDocTabs: [{ tab: 'demo', name: '示例' }, { tab: 'api', name: 'API' }]
toc: false
---

### 国际化配置

TDesign 支持国际化/多语言配置,目前支持的语言包括:

语言 | 对应文件
-- | --
简体中文 | `zh_CN`
英语 | `en_US`


如果你想贡献更多语言包,欢迎参考 [如何新增语言包](https://github.com/Tencent/tdesign-common/blob/develop/js/global-config/locale/CONTRIBUTING.md) 发起 PR。

### Upload 表格

{{ upload-en }}

### Table 表格

{{ table-en }}

### 其他组件

{{ other-en }}
:: BASE_DOC ::

## API
### GlobalConfigProvider
Expand Down

0 comments on commit c8d1132

Please sign in to comment.