json-autotranslate
Version:
Translate a folder of JSON files containing translations into multiple languages.
13 lines (12 loc) • 332 B
TypeScript
export declare const generateSearchRegex: (input: string) => RegExp;
export declare const replaceIcu: (input: string) => {
clean: string;
replacements: {
from: string;
to: string;
}[];
};
export declare const reInsertIcu: (clean: string, replacements: {
from: string;
to: string;
}[]) => string;