Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

作者的语言切换功能 #12

Closed
coraing opened this issue Jul 7, 2017 · 1 comment
Closed

作者的语言切换功能 #12

coraing opened this issue Jul 7, 2017 · 1 comment

Comments

@coraing
Copy link

coraing commented Jul 7, 2017

DESC

在找postman时找到你的作品,发现语言切换功能能6,想请教一下是怎么实现的

ENV

Platform:

Node.js Version:

mockserver Version:

@flftfqwxf
Copy link
Owner

@coraing 自己写的语言包,在后台配置使用不同的语言,根据header头信息来判断默认语言,通过COOKIE记录手动选择语言,另外翻译很烂,如果英语好,可以帮忙翻译一下

/src/common/config/locale/

目录下为语言包

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants