You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ swaggerUi.api.clientAuthorizations.add("key", new SwaggerClient.ApiKeyAuthorizat
131
131
Note! You can pass multiple header params on a single request, just use unique names for them (`key` is used in the above example).
132
132
133
133
### Localization and translation
134
-
The localization files are in the dist/lang directory.
134
+
The localization files are in the [lang](/lang) directory. Note that language files and translator is not included in SwaggerUI by default. You need to add them manually.
135
135
136
136
To enable translation you should append next two lines in your Swagger's index.html (or another entry point you use)
"Can't read from server. It may not have the appropriate access-control-origin settings.":"Can't read from server. It may not have the appropriate access-control-origin settings.",
47
+
"Please specify the protocol for":"Please specify the protocol for",
"Can't read from server. It may not have the appropriate access-control-origin settings.":"Не удается получить ответ от сервера. Возможно, какая-то лажа с настройками доступа",
47
+
"Please specify the protocol for":"Пожалуйста, укажите протогол для",
0 commit comments