-
Notifications
You must be signed in to change notification settings - Fork 115
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
Support for i18n #284
Comments
I'm not sure how that would look like, do you have any examples on what the feature would look like for a user? I think we could add support for i18n that could work like how it does for blogs where you would have 1 OpenAPI file for each language, WDYT? That would leave managing of the translations upto the developer of the site. |
A cool feature would be to have text attributes as i18n objects. For example, instead of: description: This is a nice description We could have: description:
en: This is a nice description
pt-BR: Essa é uma descrição legal But I understand that requires more work to achieve. I would be happy with the possibility to have multiple YAML files, like:
And make the plugin generate the correct i18n file structure for docusaurus:
|
@Logerfo check out jsdoc-to-mdx! They have an interesting way of dealing with i18n that you may be able to crib from for use with redocusaurus. |
Any alternative available while redocusaurus works on adding i18n support? |
@bryanjtc None I'm aware about. But thanks for reviving this (also @Nostromos ). I started looking into it, and docusaurus has pretty extensive translation workflows that I'd like to plug into - https://docusaurus.io/docs/api/plugin-methods/i18n-lifecycles rather than having it manage as multiple yaml files It would help a lot if someone can share any public docusaurus projects that use i18n, especially for anything other than markdown, so that I can use them as reference. |
I think this is the current best work-around - #317 (comment) |
Can i somehow make my API specification available in multi-language setup?
The text was updated successfully, but these errors were encountered: