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
bugIssue identified by VS Code Team member as probable bugl10n-platformLocalization platform issues (not wrong translations)verifiedVerification succeeded
Hmm yeah it should look like this (Desktop screenshot) with the English strings next to the German strings. I think this is a bug in how I'm applying the translations...
this.logService.error(this.formatMessage(extensionLocation,localize('jsonsParseReportErrors',"Failed to parse {0}: {1}.",localizedMessages.default?.path,getParseErrorMessage(error.error))));
this.logService.error(this.formatMessage(extensionLocation,localize('jsonsParseReportErrors',"Failed to parse {0}: {1}.",localized?.path,getParseErrorMessage(error.error))));
Which seems to go through the manifest and turn some strings into ILocalizedStrings. I followed up with Sandeep Somavarapu (@sandy081) to understand how this works.
Not quite, it was originally written by Dirk Bäumer (@dbaeumer) , but I'm happy to try and help. My understanding is that the code is taking a JSON object that looks like this:
bugIssue identified by VS Code Team member as probable bugl10n-platformLocalization platform issues (not wrong translations)verifiedVerification succeeded
Activity
TylerLeonhardt commentedon Jun 28, 2022
Hmm yeah it should look like this (Desktop screenshot) with the English strings next to the German strings. I think this is a bug in how I'm applying the translations...

TylerLeonhardt commentedon Jul 1, 2022
Just found out about these functions on the desktop side:
vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.ts
Lines 640 to 822 in 71b996e
Which seems to go through the manifest and turn some
strings intoILocalizedStrings. I followed up with Sandeep Somavarapu (@sandy081) to understand how this works.sandy081 commentedon Jul 4, 2022
This code was originally written by Alexandru Dima (@alexdima) so I would ask him to know how this works.
alexdima commentedon Jul 13, 2022
Not quite, it was originally written by Dirk Bäumer (@dbaeumer) , but I'm happy to try and help. My understanding is that the code is taking a JSON object that looks like this:
Together with another JSON object that looks like this:
And produces a JSON object that looks like this by substituting all string values of the shape
"%...%"with their corresponding value:andreamah commentedon Aug 25, 2022
I still see this on firefox:
The first option's english translation still looks wrong? (tested on https://insiders.vscode.dev/)
TylerLeonhardt commentedon Aug 25, 2022
The first one is still wrong because of #157015 so we'll track that there.
However, the rest now have the English string underneath which they use to not have, which means this is fixed and verified 😃