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

    Function importMsgProjectForResource

    • Imports the MsgProject module and returns sourceLocale and dir (ltr/rtl).

      Parameters

      • projectsDir: string

        Absolute path to i18n/projects

      • projectName: string

        Name of the project file (without extension)

      Returns Promise<{ dir: "ltr" | "rtl"; sourceLocale: string } | undefined>

      Object with sourceLocale and dir, or undefined if project not found