Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
how to set the system language is Chinese
  • Loading branch information
taoyu65 authored Jul 29, 2017
1 parent 02a7077 commit 1f749b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ Umi 是由laravel 5.3开发的全面的后台管理系统, 包括以下特性
5. 执行下面的命令, 用于安装应用程序
>php artisan umi:install (会提示选择安装数据库中数据的语言 1=汉语 2=英语) 输入1然后回车.
>附:如果数据库已经安装完毕, 在想更改语言英语或汉语 仅需执行 php artisan umi:install --lang-zh-only(或 --lang-en-only)
6. 好了. 可以开始了.<br>
6. 设置系统为中文:
>在根目录下config/app.php中 设置 'locale' => 'zh_cn', 即可
7. 好了. 可以开始了.<br>
注意:为了保证数据库迁移,数据库结构和一些必要的数据。 请在执行php artisan umi:install之前 保持数据库为空。如果要重新安装请手动清空数据库包括结构。


Expand Down

0 comments on commit 1f749b9

Please sign in to comment.