php - Symfony console language changed -


i trying learn symfony framework.

when type bin/console doctrine:fixtures:load command console language changes japanese (i think) , result can not debug error. can please make symfony console print results in english?

the following error getting running above command. j�│t␤␋⎽ ⎼␊⎽⎺┤⎼␌␊ °⎺⎼┐ ␋┼├␊┼├␋⎺┼▒┌┌≤ ┌␊°├ ␉┌▒┼┐ ��php p▒⎼⎽␊ ␊⎼⎼⎺⎼: ⎽≤┼├▒│ ␊⎼⎼⎺⎼, ┤┼␊│⎻␊␌├␊␍ '␊│├␊┼␍' (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≠--┴␊⎼⎽␋⎺┼] [--▒┼⎽␋] [--┼⎺-▒┼⎽␋] [-┼≠--┼⎺-␋┼├␊⎼▒␌├␋⎺┼] [-␊≠--␊┼┴ env] [--┼⎺-␍␊␉┤±] [--] <␌⎺└└▒┼␍>

here framework related settings in config.xml imports: - { resource: parameters.yml } - { resource: security.yml } - { resource: services.yml } - { resource: "@mybundle/resources/config/services.yml" }

put parameters here don't need change on each machine app deployed

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

parameters: locale: en

framework: #esi: ~ #translator: { fallbacks: ["%locale%"] } secret: "%secret%" router: resource: "%kernel.root_dir%/config/routing.yml" strict_requirements: ~ form: ~ csrf_protection: ~ validation: { enable_annotations: true } #serializer: { enable_annotations: true } templating: engines: ['twig'] default_locale: "%locale%" trusted_hosts: ~ trusted_proxies: ~ session: # 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%" fragments: ~ http_method_override: true assets: ~


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo