-
Notifications
You must be signed in to change notification settings - Fork 336
Localization file loading error on Remote SSH (Linux) due to case-sensitivity (zh-CN vs zh-cn) #1804
Copy link
Copy link
Open
Labels
bug-reportBug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
Description
OS
Windows
Operating System version
win11
Visual Studio Code version
1.113
ESP-IDF extension version
2.0.2
Description
When using the ESP-IDF extension in a Remote Development environment (via VS Code Remote - SSH) on a Linux host, the extension fails to load the simplified Chinese localization file.
The extension package contains bundle.l10n.zh-CN.json, but the loader attempts to access bundle.l10n.zh-cn.json. On case-sensitive Linux file systems, this causes a "File not found" error.
Error Log:
2026-03-26 12:27:57.755 [error] Failed to load translations for espressif.esp-idf-extension from file:///root/.vscode-server/extensions/espressif.esp-idf-extension-2.0.2/l10n/bundle.l10n.zh-cn.json: 无法读取文件'vscode-remote://ssh-remote+192.168.2.5/root/.vscode-server/extensions/espressif.esp-idf-extension-2.0.2/l10n/bundle.l10n.zh-cn.json' (Error: 无法解析不存在的文件 'vscode-remote://ssh-remote+192.168.2.5/root/.vscode-server/extensions/espressif.esp-idf-extension-2.0.2/l10n/bundle.l10n.zh-cn.json')
Verification / Workaround:
I have manually verified that renaming the file from bundle.l10n.zh-CN.json to bundle.l10n.zh-cn.json (changing CN to lowercase) resolves the issue, and the extension UI displays the Chinese translations correctly afterward.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug-reportBug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)