UNPKG

@parvineyvazov/json-translator

Version:

Translate your JSON file or object into another languages with Google Translate API

7 lines (6 loc) 345 B
import { TranslationConfig } from '../modules/modules'; export declare function fileTranslator(TranslationConfig: TranslationConfig, tempObjectPath: string, from: string, to: string[], newFileName: string): Promise<void>; export declare function getFileFromPath(objectPath: string): Promise<{ jsonObj: any; objectPath: string; }>;