UNPKG

680 BTypeScriptView Raw
1import { FormatType, Localization } from './i18n/localization';
2export declare namespace nls {
3 let localization: Localization | undefined;
4 const localeId = "localeId";
5 const locale: string | undefined;
6 /**
7 * Automatically localizes a text if that text also exists in the vscode repository.
8 */
9 function localizeByDefault(defaultValue: string, ...args: FormatType[]): string;
10 function getDefaultKey(defaultValue: string): string;
11 function localize(key: string, defaultValue: string, ...args: FormatType[]): string;
12 function isSelectedLocale(id: string): boolean;
13 function setLocale(id: string): void;
14}
15//# sourceMappingURL=nls.d.ts.map
\No newline at end of file