Skip to content

Solution that implements multilanguage documentation and UI translation in .Net 8 swagger (Swashbuckle 6).

Notifications You must be signed in to change notification settings

fenomeno83/SwaggerGlobalization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swagger Globalization

Solution that implements multilanguage documentation and UI translation in .Net 8 swagger (Swashbuckle 6).

Based on configured supported cultures and default culture, you can:

1-enables accept-language header dropdown

2-globalize enums by resources based on display attribute

3-globalize swagger documentation

4-enables multidocumentation with different supported cultures by changing swagger "select definition" dropdown

5-enables UI translation (it is not native in the newest swagger 3.x version, so I've creared a workaround system that changes text when specific dom node is loaded; it is not an elegant way, but it works!)

Example includes english and italian supported cultures

About

Solution that implements multilanguage documentation and UI translation in .Net 8 swagger (Swashbuckle 6).

Resources

Stars

Watchers

Forks

Packages

No packages published