@vendure/ngx-translate-extract
Version:
Extract strings from projects using ngx-translate
17 lines (16 loc) • 484 B
TypeScript
import { TranslationCollection } from '../utils/translation.collection.js';
export declare enum CompilerType {
Pot = "pot",
Json = "json",
NamespacedJson = "namespaced-json"
}
export interface CompilerOptions {
indentation?: string;
trailingNewline?: boolean;
poSourceLocation?: boolean;
}
export interface CompilerInterface {
extension: string;
compile(collection: TranslationCollection): string;
parse(contents: string): TranslationCollection;
}