swoft-cloud / swoft

🚀 PHP Microservice Full Coroutine Framework
https://swoft.org
Apache License 2.0
5.58k stars 785 forks source link

[Request]动态设置国际化locale #1414

Open lear2012 opened 3 years ago

lear2012 commented 3 years ago

期望可以能够动态设置国际化locale,这样中文可以返回中文信息,英文可以返回英文信息