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

Supporting i18n? #222

Open
calfzhou opened this issue Mar 4, 2015 · 1 comment
Open

Supporting i18n? #222

calfzhou opened this issue Mar 4, 2015 · 1 comment

Comments

@calfzhou
Copy link
Contributor

calfzhou commented Mar 4, 2015

swagger spec doesn't natively support i18n, but is it possible that grape-swagger generate localized documents for different locale? For example, visiting http://localhost:3000/swagger_doc.json will get default language, as well as visiting http://localhost:3000/swagger_doc.json?locale=zh-CN will get another json in Chinese.

@dblock
Copy link
Member

dblock commented Mar 4, 2015

It's definitely a useful feature request.

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

No branches or pull requests

2 participants