UNPKG

@lingui/cli

Version:

Lingui CLI to extract messages, compile catalogs, and manage translation workflows

11 lines (10 loc) 449 B
import { CatalogFormatter, CatalogType } from "@lingui/conf"; export declare class FormatterWrapper { private f; private sourceLocale; constructor(f: CatalogFormatter, sourceLocale: string); getCatalogExtension(): string; getTemplateExtension(): string; write(filename: string, catalog: CatalogType, locale?: string): Promise<void>; read(filename: string, locale: string | undefined): Promise<CatalogType | undefined>; }