Skip to content

[Bug]: i18n Ally插件提示:没有找到文案文件。 项目配置可能存在问题。 #807

Description

@OpenBodhi

软件版本

soybean-admin:1.3.15,vscode:1.102.3

运行环境

Windows (64)

运行架构

None

重现步骤

当前项目已经配置了i18n-ally.parsers.typescript.compilerOptions,还是不生效,别的项目能正常显示国际化,排除了vscode i18n Ally插件插件的问题。
系统settings.json并没有其他设置,以下是项目完整.vscode\settings.json的配置
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},
"editor.formatOnSave": false,
"eslint.validate": ["html", "css", "scss", "json", "jsonc"],
"i18n-ally.displayLanguage": "zh-cn",
"i18n-ally.enabledParsers": ["ts"],
"i18n-ally.enabledFrameworks": ["vue"],
"i18n-ally.editor.preferEditor": true,
"i18n-ally.keystyle": "nested",
"i18n-ally.localesPaths": ["src/locales/langs"],
"i18n-ally.parsers.typescript.compilerOptions": {
"moduleResolution": "node"
},
"prettier.enable": false,
"typescript.tsdk": "node_modules/typescript/lib",
"unocss.root": ["./"]
}

期望的结果是什么?

正常显示国际化

实际的结果是什么?

还不生效

Image Image Image

日志记录(可选)

补充说明(可选)

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions