UNPKG

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