ag-charts-community
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
10 lines (9 loc) • 489 B
TypeScript
import type { Formatter, MessageFormatterParams } from 'ag-charts-types';
import { Listeners } from '../util/listeners';
export declare class LocaleManager extends Listeners<'locale-changed', () => void> {
private localeText;
private getLocaleText;
setLocaleText(localeText: Record<string, string> | undefined): void;
setLocaleTextFormatter(getLocaleText: Formatter<MessageFormatterParams> | undefined): void;
t(key: string, variables?: Record<string, any>): string;
}