Symfony控制台语言已更改

时间:2016-06-01 19:41:24

标签: php symfony doctrine-orm

我正在尝试学习Symfony框架。

当我输入bin / console doctrine:fixtures:load命令我的控制台语言改为日语(我认为),因此我无法调试我的错误。任何人都可以帮助让Symfony控制台用英语打印结果吗?

以下是我从运行上述命令得到的错误。 J │T␤␋⎽␤␋⎽°⎺⎼┐⎺⎼┐├␊┼├␋⎺┼▒┌┌≤┌␊°├␉┌▒┼┐┼┐PHPP▒⎼⎽␊⎼⎽␊ ⎼⎼⎺⎼:⎽≤┼├▒│␊⎼⎼⎺⎼,┤┼␊│⎻␊␌├␊␍'␊│├␊┼␍'(T_STRING),␊│⎻␊␌├␋┼±'π '␋┼/⎻⎼⎺┘␊␌├⎽/└▒┴▒/⎽⎼␌/A⎻⎻B┤┼␍┌␊/D▒├▒F␋│├┤⎼␊⎽/ ORM /L⎺▒ ␍P⎼⎺┘␊␌├⎽.⎻␤⎻⎺┼┌␋┼␊9

P▒⎼⎽␊⎼⎽␊:⎽≤┼├▒│␊⎼⎼⎺⎼,┤┼␊│⎻␊␌├␊␍'␊│├␊┼␍'(T_STRING),␊│ ⎻␊␌├␋┼±'π'␋┼/⎻⎼⎺┘␊␌├⎽/└▒┴▒/⎽⎼␌/A⎻⎻B┤┼␍┌␊/D▒├▒F␋│├┤ ⎼␊⎽/ ORM /L⎺▒␍P⎼⎺┘␊␌├⎽.⎻␤⎻⎻␤⎻⎺┼9

[S≤└°⎺┼≤\C⎺└⎻⎺┼␊┼├\D␊␉┤±\E│␌␊⎻├␋⎺┼\F▒├▒┌E⎼⎼⎺⎼E│ ␌␊⎻├␋⎺┼]
  P▒⎼⎽␊E⎼⎼⎺⎼:⎽≤┼├▒│␊⎼⎼⎺⎼,┤┼␊│⎻␊␌├␊␍'␊│├␊┼␍'(T_STRING),␊│⎻␊␌ ├␋┼±'π'

␍⎺␌├⎼␋┼␊:°␋│├┤⎼␊⎽:┌⎺▒␍[ - °␋│├┤⎼␊⎽[FIXTURES]] [ - ▒⎻⎻␊┼␍] [ - ␊└EM] [--⎽␤▒⎼␍SHARD] [ - ⎻┤⎼±␊-┬␋├␤-├⎼┤┼␌▒├␊] [ - └┤┌├␋⎻┌ ␊-├⎼▒┼⎽▒␌├␋⎺┼⎽] [-␤≠ - ␤␊┌⎻] [ - ≠ - - ┤␋␊├] [-┴≠┴┴≠┴┴┴≠ - -┴␊⎼␉⎺⎽␊] [-V≠ - ┴␊⎼⎽␋⎺┼] [ - ┼⎽␋┼⎽␋] [ - ┼⎺-▒┼⎽␋] [-┼≠ - ┼⎺ -␋┼├␊⎼▒␌├␋⎺┼] [-␊≠ - ␊┼┴INV] [ - ┼⎺-␍␊␉┤±] [ - ]<␌⎺└└▒┼␍&gt ;

这是我的config.xml中与框架相关的设置 进口:      - {resource:parameters.yml}      - {resource:security.yml}      - {resource:services.yml}      - {resource:“@ MyBundle / Resources / config / services.yml”}

将参数放在此处,无需在部署应用程序的每台计算机上进行更改

http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration

参数:     locale:en

框架:     #esi:〜     #translator:{fallbacks:[“%locale%”]}     秘密:“%secret%”     路由器:         资源:“%kernel.root_dir%/ config / routing.yml”         strict_requirements:〜     形式:〜     csrf_protection:〜     验证:{enable_annotations:true}     #serializer:{enable_annotations:true}     模板:         引擎:['twig']     default_locale:“%locale%”     trusted_hosts:〜     trusted_proxies:〜     会议:         #http://symfony.com/doc/current/reference/configuration/framework.html#handler-id         handler_id:session.handler.native_file         save_path:“%kernel.root_dir%/ .. / var / sessions /%kernel.environment%”     片段:〜     http_method_override:true     资产:〜

0 个答案:

没有答案
相关问题