文件夹 i18n 在 VSCode 上的用途是什么?



查看 https://github.com/Microsoft/vscode 源代码项目,我们可以找到包含一些文件的文件夹i18n(https://github.com/Microsoft/vscode/tree/master/i18n(。但是没有解释这个文件夹的用途。

例如,查看某些文件,您可以找到通知:

vscode\i18n\ita\src\vs\platform\keybinding\common\abstractKeybindingService.i18n.json

/*---------------------------------------------------------------------------------------------
*  Copyright (c) Microsoft Corporation. All rights reserved.
*  Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
// Do not edit this file. It is machine generated.
{
"first.chord": "È stato premuto ({0}). In attesa del secondo tasto...",
"missing.chord": "La combinazione di tasti ({0}, {1}) non è un comando."
}

i18n 总是用于本地化的东西。

https://en.wikipedia.org/wiki/Internationalization_and_localization

最新更新