Global Config
import { TranslocoGlobalConfig } from "@jsverse/transloco-utils";
const config: TranslocoGlobalConfig = {
rootTranslationsPath?: string;
defaultLang?: string;
scopedLibs?: string[] | Array<{ src: string; dist: string[] }>;
scopePathMap?: Record<string, string>;
langs?: string[];
keysManager?: {
input?: string | string[];
output?: string;
fileFormat?: 'json' | 'pot';
marker?: string;
addMissingKeys?: boolean;
emitErrorOnExtraKeys?: boolean;
replace?: boolean;
defaultValue?: string | undefined;
unflat?: boolean;
sort?: boolean;
};
};
export default config;Configuration Properties
Core Properties
Scoped Libraries
Translation Path Mapping
Keys Manager
Last updated
Was this helpful?

