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: Codespaces OS Version: Codespaces Steps to Reproduce: display language to scm view Some of the characters are Chinese and some are English <img width="623" alt="image" src="https://user-"<img width="808" alt="image" src="https://user-"
/duplicate This will be fixed in the next stable release of vscode projected for this week.
It still not work on Codespace in 1.74.0 I think it is because the can't be installed in Web <img width="841" alt="image" src="https://user-"<img width="527" alt="image" src="https://user-"<img width="357" alt="image" src="https://user-"
Yes this is actually a different issue. Nice catch. The problem here is that you have a client (your browser) and your remote (the Codespaces machine). The Language pack is being used for the client but not the remote and the Git extension runs on the remote side. Through various brute forcing, this can eventually work... but it's not intuitive at all. Here's an example: ! You can see that I have the Spanish Language Pack installed on the remote side... I don't remember when I did that or how... but I have it there. If I set to Spanish, it works: ! However, now I try Chinese: ! my UI is in Chinese but the language pack is not installed on the Remote side so the Git extension isn't translated: ! We need to make sure that setting the language in the client gets properly sent to the remote and the language pack installed.
you can download the language pack install it from vsix, then restart the codespace.
Maybe same issues like
So this should work on Desktop now but there's still some work to be done on the web for this.

Discussion:
import { IActiveLanguagePackService, ILocaleService } from 'vs/workbench/services/localization/common/locale'; import { IHostService } from 'vs/workbench/services/host/browser/host'; import { IProductService } from 'vs/platform/product/common/productService'; <del> import { withNullAsUndefined } from 'vs/base/common/types'; </del> import { InstantiationType, registerSingleton } from 'vs/platform/instantiation/common/extensions'; <ins> import { CancellationToken } from 'vs/base/common/cancellation'; import { IExtensionGalleryService } from 'vs/platform/extensionManagement/common/extensionManagement'; </ins> export class WebLocaleService implements ILocaleService { declare readonly _serviceBrand: undefined;

class WebActiveLanguagePackService implements IActiveLanguagePackService { _serviceBrand: undefined; <ins> constructor(@IExtensionGalleryService private readonly galleryService: IExtensionGalleryService) { } </ins> async getExtensionIdProvidingCurrentLocale(): Promise<string | undefined> { const language = Language.value(); if (language === LANGUAGE_DEFAULT) { return undefined; } const extensionId = window.localStorage.getItem(WebLocaleService._LOCAL_STORAGE_EXTENSION_ID_KEY); <del> return withNullAsUndefined(extensionId); </del> <ins> if (extensionId) { return extensionId; } const tagResult = await this.galleryService.query({ text: `tag:lp-${language}` }, CancellationToken.None); // Only install extensions that are published by Microsoft and start with vscode-language-pack for extra certainty const extensionToInstall = tagResult.firstPage.find(e => e.publisher === 'MS-CEINTL' && e.name.startsWith('vscode-language-pack')); if (extensionToInstall) { window.localStorage.setItem(WebLocaleService._LOCAL_STORAGE_EXTENSION_ID_KEY, extensionToInstall.identifier.id); return extensionToInstall.identifier.id; } // TODO: If a non-Microsoft language pack is installed, we should prompt the user asking if they want to install that. // Since no such language packs exist yet, we can wait until that happens to implement this. return undefined; </ins> } }