Kong / swagger-ui-kong-theme

Plugin theme for Swagger-UI that adds snippets
Apache License 2.0
19 stars 17 forks source link

I18n of the theme #33

Open mmorel-35 opened 3 years ago

mmorel-35 commented 3 years ago

Would it be possible to allow the I18n? For example, react-i18next seems like a good fit for this purpose. Our users speaks mainly French and we have no simple way to translate the elements wrote in English.

HenriPro commented 3 years ago

Hmm this would be quite difficult as much of the copy comes from swagger-ui. If support for l18n comes to swagger-ui, it would then be possible to add it to this theme. see: https://github.com/swagger-api/swagger-ui/issues/2488