Skip to content

Commit bef106f

Browse files
author
Quan Weiwei
committed
modify readme
1 parent f4945b5 commit bef106f

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
.idea/
1+
.idea/
2+
src/Resources/public/
3+
vendor/

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,15 @@ twig:
107107
- '@TeebbTuiEditor/Form/tuieditor_widget.html.twig'
108108

109109
```
110+
You can config tui.editor language.
111+
```yaml
112+
#config/services.yaml
113+
114+
parameters:
115+
locale: 'zh_CN' # Change the locale
116+
117+
```
118+
110119

111120
### Step 5: Use the Bundle
112121

README_zh.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,14 @@ twig:
102102
form_themes:
103103
- '@TeebbTuiEditor/Form/tuieditor_widget.html.twig'
104104

105+
```
106+
您可以修改tui.editor的语言显示。
107+
```yaml
108+
#config/services.yaml
109+
110+
parameters:
111+
locale: 'zh_CN' # Change the locale
112+
105113
```
106114

107115
### 第5步: 使用TeebbTuiEditorBundle

0 commit comments

Comments
 (0)