@worldware/msg-cli
    Preparing search index...

    Function filterXliffPathsByLocale

    • Filters XLIFF file paths by locale. Keeps paths that have .[locale]. in the filename or locale as a directory in the path.

      Parameters

      • filePaths: string[]

        Array of absolute XLIFF file paths

      • locale: string

        Locale code to filter by

      Returns string[]

      Filtered array of paths