Change:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Read our guide about submitting issues: --<!-- Search existing issues to avoid creating duplicates. --<!-- Test using the latest Insiders build to see if your issue has already been fixed: --<!-- Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --<!-- Launch with to check. --Does this issue occur when all extensions are disabled?: Yes/No <!-- If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --<!-- Issues caused by an extension need to be reported directly to the extension publisher. The 'Help Report Issue' dialog can assist with this. --- VS Code Version: 1.68-insider OS Version: Windows 11 Steps to Reproduce: pseudo language pack explorer view in empty window :bug: the Clone Repository command should not be localized here: ! I think the way we deal with this is with a comment to skip localization like this:
Yes, removing the buttons from the string to be translated is a good way to do this... though to be honest, that in the example you gave isn't needed anymore since (with 3 m's lol) was removed from the string :)
As far as I can tell, this issue should have been fixed with am I missing something or should we just nudge the translation team to fix the translation? Thank you!
This is on me. The comments are being dropped for some reason. I will investigate.
Thank you very much Let me know if I can help in any way.

Discussion:
const basename = path.basename(file.path); if (basename === 'package.nls.json') { const json = JSON.parse(buffer.toString('utf8')); <del> const keys = Object.keys(json); const messages = keys.map((key) => { </del> <ins> const keys = []; const messages = []; Object.keys(json).forEach((key) => { </ins> const value = json[key]; if (Is.string(value)) { <del> return value; </del> <ins> keys.push(key); messages.push(value); </ins> } else if (value) { <del> return value.message; </del> <ins> keys.push({ key, comment: value.comment }); messages.push(value.message); </ins> } else { <del> return `Unknown message for key: ${key}`; </del> <ins> keys.push(key); messages.push(`Unknown message for key: ${key}`); </ins> } }); getXlf().addFile(`extensions/${extensionName}/package`, keys, messages);

const basename = path.basename(file.path); if (basename === 'package.nls.json') { const json: PackageJsonFormat = JSON.parse(buffer.toString('utf8')); <del> const keys = Object.keys(json); const messages = keys.map((key) => { </del> <ins> const keys: Array<string | LocalizeInfo> = []; const messages: string[] = []; Object.keys(json).forEach((key) => { </ins> const value = json[key]; if (Is.string(value)) { <del> return value; </del> <ins> keys.push(key); messages.push(value); </ins> } else if (value) { <del> return value.message; </del> <ins> keys.push({ key, comment: value.comment }); messages.push(value.message); </ins> } else { <del> return `Unknown message for key: ${key}`; </del> <ins> keys.push(key); messages.push(`Unknown message for key: ${key}`); </ins> } }); getXlf().addFile(`extensions/${extensionName}/package`, keys, messages);