diff --git a/app/Resources/translations/messages.zh_CN.xlf b/app/Resources/translations/messages.zh_CN.xlf
new file mode 100644
index 000000000..ff843d0fe
--- /dev/null
+++ b/app/Resources/translations/messages.zh_CN.xlf
@@ -0,0 +1,352 @@
+
+
+
+
+
+ note
+ 注意
+
+
+ tip
+ 提示
+
+
+ not_available
+ 不可用
+
+
+ mit_license
+ MIT License
+
+
+
+ http_error.name
+ 错误 %status_code%
+
+
+ http_error.description
+ 有未知错误 (HTTP %status_code%) 阻止你的请求.
+
+
+ http_error.suggestion
+ 返回首页.]]>
+
+
+ http_error_403.description
+ 你没有权限访问这个资源.
+
+
+ http_error_403.suggestion
+ 请联系系统管理员给你访问这个资源的权限.
+
+
+ http_error_404.description
+ 无法找到请求的页面.
+
+
+ http_error_404.suggestion
+ 返回首页.]]>
+
+
+ http_error_500.description
+ 服务器错误.
+
+
+ http_error_500.suggestion
+ 返回首页.]]>
+
+
+
+ title.homepage
+ Symfony 示例 应用]]>
+
+
+ title.source_code
+ 渲染此页面的源代码
+
+
+ title.controller_code
+ Controller 控制器代码
+
+
+ title.twig_template_code
+ Twig 模板代码
+
+
+ title.login
+ 登录
+
+
+ title.post_list
+ 文章列表
+
+
+ title.edit_post
+ 编辑文章 #%id%
+
+
+
+
+
+ action.show
+ 展示
+
+
+ action.show_post
+ 展示文章
+
+
+ action.show_code
+ 展示代码
+
+
+ action.edit
+ 编辑
+
+
+ action.edit_post
+ 编辑文章
+
+
+ action.save
+ 保存修改
+
+
+ action.delete_post
+ 删除文章
+
+
+ delete_post_modal.title
+ 确定要删除此文章吗?
+
+
+ delete_post_modal.body
+ 这个操作无法撤销.
+
+
+ label.delete_post
+ 删除文章
+
+
+ label.cancel
+ 取消
+
+
+ action.create_post
+ 添加一篇新文章
+
+
+ label.create_post
+ 保存文章
+
+
+ label.save_and_create_new
+ 保存并添加新文章
+
+
+ action.back_to_list
+ 返回文章列表
+
+
+
+ action.sign_in
+ 登录
+
+
+ action.browse_app
+ 浏览博客前台
+
+
+ action.browse_admin
+ 浏览管理后台
+
+
+
+ label.title
+ 标题
+
+
+ label.author
+ 作者
+
+
+ label.author_email
+ 作者邮箱
+
+
+ label.username
+ 用户名
+
+
+ label.password
+ 密码
+
+
+ label.role
+ 角色
+
+
+ label.content
+ 内容
+
+
+ label.summary
+ 摘要
+
+
+ label.published_at
+ 发布于
+
+
+ label.tags
+ 标签
+
+
+ label.actions
+ 操作
+
+
+ title.post_new
+ 文章创建者
+
+
+ action.edit_contents
+ 编辑内容
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ post.no_posts_found
+ 没有评论.
+
+
+ post.created_successfully
+ 评论发表成功!
+
+
+ post.updated_successfully
+ 评论更新成功!
+
+
+ post.deleted_successfully
+ 评论删除成功!
+
+
+
+
+
+
+ help.app_description
+ 示例应用 , 用以介绍开发Symfony应用的推荐方式.]]>
+
+
+ help.show_code
+ Controller 控制器 和 Twig 模板 的源代码.]]>
+
+
+ help.browse_app
+ 公共部分 .]]>
+
+
+ help.browse_admin
+ 管理后台 .]]>
+
+
+ help.login_users
+ 使用以下用户登录
+
+
+ help.role_user
+ 普通用户
+
+
+ help.role_admin
+ 管理员
+
+
+ help.reload_fixtures
+ 如果这些用户无法使用, 在终端中使用以下命令来重新加载应用数据:
+
+
+ help.add_user
+ 如果你想要创建用户, 使用命令:
+
+
+ help.more_information
+ Symfony 文档 .]]>
+
+
+
+
+
+
+
diff --git a/app/Resources/translations/validators.zh_CN.xlf b/app/Resources/translations/validators.zh_CN.xlf
new file mode 100644
index 000000000..aee06ee1a
--- /dev/null
+++ b/app/Resources/translations/validators.zh_CN.xlf
@@ -0,0 +1,39 @@
+
+
+
+
+
+ post.blank_summary
+ 请填写文章摘要!
+
+
+ post.blank_content
+ 请填写文章内容!
+
+
+ post.too_short_content
+ 文章内容太少 最少 ({{ limit }} 个字 )
+
+
+ post.too_many_tags
+ 标签太多 (最多 {{ limit }} 个标签)
+
+
+
+
+
+
+
+
diff --git a/app/config/config.yml b/app/config/config.yml
index 41c0a0047..ee988a319 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -14,7 +14,7 @@ imports:
# See https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
# This parameter defines the codes of the locales (languages) enabled in the application
- app_locales: en|fr|de|es|cs|nl|ru|uk|ro|pt_BR|pl|it|ja|id|ca|sl|hr
+ app_locales: en|fr|de|es|cs|nl|ru|uk|ro|pt_BR|pl|it|ja|id|ca|sl|hr|zh_CN
app.notifications.email_sender: anonymous@example.com
# Basic configuration for the Symfony framework features