ng-extract-i18n-merge
Version:
Extract and merge i18n xliff translation files for angular projects.
26 lines (25 loc) • 929 B
TypeScript
import { JsonObject } from '@angular-devkit/core';
export interface Options extends JsonObject {
format: 'xlf' | 'xlif' | 'xliff' | 'xlf2' | 'xliff2' | null;
outputPath: string | null;
sourceFile: string | null;
targetFiles: string[];
sourceLanguageTargetFile: string | null;
removeIdsWithPrefix: string[] | null;
includeIdsWithPrefix: string[] | null;
fuzzyMatch: boolean;
resetTranslationState: boolean;
prettyNestedTags: boolean;
sortNestedTagAttributes: boolean;
collapseWhitespace: boolean;
trim: boolean;
includeContext: boolean | 'sourceFileOnly';
includeMeaningAndDescription: boolean;
newTranslationTargetsBlank: boolean | 'omit';
sort: 'idAsc' | 'stableAppendNew' | 'stableAlphabetNew';
/** @deprecated use `buildTarget` instead */
browserTarget: string | null;
buildTarget: string | null;
builderI18n: string;
verbose: boolean;
}