@yamlresume/node
    Preparing search index...

    Function translateResumeFile

    • Translate a resume file from its current locale language to another supported locale language.

      The source language is read from the input resume's locale.language field.

      Parameters

      • inputPath: string

        The source resume file path.

      • outputPath: string

        The output resume file path.

      • toLanguage: string

        The target locale language.

      • options: TranslateResumeFileOptions = {}

        Optional model, base URL, retry and callback settings.

      Returns Promise<void>

      When the output file already exists, reading fails, the source language is missing/invalid, or writing fails.