Skip to content

config location of destination folder in nggettext_compile command #44

Open
@NVK15

Description

Hi,

I am trying to generate JSON output file using PO files. Below is the configuration i have used:

nggettext_compile: {
all: {
options: {
format: "json"
},
files: [
{
expand: true,
cwd:"../",
src: ["po/*.po"],
dest: 'lang/',
ext: ".json"
}
]
},
},

The PO files are present in folder named: "PO" as mentioned in 'src'. And i want to output the JSON files in "lang" folder which is at the same level as "PO" folder. I somehow cant get this command working. Neither the folder nor JSON files are generated. Can anyone help me with correct configuration?

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions