knife4j icon indicating copy to clipboard operation
knife4j copied to clipboard

Cannot Show Menu Apart from Chinese Menu

Open g-industrialist opened this issue 6 months ago • 0 comments

Describe the bug According to the menu, it should be able to show English Menu, but Fail to do so now.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'application.yml'
  2. update the config
# knife4j的增强配置,不需要增强可以不配
knife4j:
  enable: true
  setting:
    language: zh_cn // only accept zh_cn, when I select en_US or en_us or en-US, both failed
  1. Source code stated - OpenAPILanguageEnums (4.0.0)
    EN("en-US"),
    ZH_CN("zh-CN"),
  1. See error - running console

Update your application's configuration. The following values are valid:

    en-US
    zh-CN

Expected behavior Should show OpenAPI in English

Screenshots

Knife4j Version (please complete the following information):

Additional context

            <groupId>com.github.xiaoymin</groupId>
            <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
            <version>4.5.0</version>

g-industrialist avatar Sep 02 '24 09:09 g-industrialist