mirror of
https://github.com/zuiidea/antd-admin.git
synced 2026-10-19 16:14:37 +00:00
📝 Add some comments image to document.
This commit is contained in:
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 194 KiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 118 KiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 199 KiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 124 KiB |
@@ -2,6 +2,8 @@
|
||||
|
||||
After the development is completed and verified in the development environment, it needs to be deployed to our users.
|
||||
|
||||

|
||||
|
||||
## Build
|
||||
|
||||
First execute the following command,
|
||||
|
||||
+3
-1
@@ -4,6 +4,8 @@
|
||||
|
||||
Take Japanese as an example.
|
||||
|
||||

|
||||
|
||||
1. Add a language pack local file, `ja` is the Japanese language code, and a list of languages that support translation [有道智云](http://ai.youdao.com/docs/doc-trans-api.s#p05), the `src/locales/ja/messages.json` file will be generated after running the following command.
|
||||
|
||||
```bash
|
||||
@@ -39,7 +41,7 @@ Take Japanese as an example.
|
||||
...
|
||||
{
|
||||
key:'ja',
|
||||
title: '日语',
|
||||
title: '日本語',
|
||||
flag: '/japanese.svg',
|
||||
},
|
||||
],
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
完成开发并且在开发环境验证之后,就需要部署给我们的用户了。
|
||||
|
||||

|
||||
|
||||
## 构建
|
||||
|
||||
先执行下面的命令,
|
||||
|
||||
+3
-1
@@ -4,6 +4,8 @@
|
||||
|
||||
以新增日语为例。
|
||||
|
||||

|
||||
|
||||
1. 添加语言包本地文件,`ja` 为日语的语言代码,支持翻译的语言列表参考 [有道智云](http://ai.youdao.com/docs/doc-trans-api.s#p05),运行下面命令后会生成 `src/locales/ja/messages.json` 文件。
|
||||
|
||||
```bash
|
||||
@@ -39,7 +41,7 @@
|
||||
...
|
||||
{
|
||||
key:'ja',
|
||||
title: '日语',
|
||||
title: '日本語',
|
||||
flag: '/japanese.svg',
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user