rubenv / angular-gettext-tools

Tools for extracting/compiling angular-gettext strings.
http://angular-gettext.rocketeer.be/
MIT License
39 stars 129 forks source link

config location of destination folder in nggettext_compile command #74

Closed NVK15 closed 9 years ago

NVK15 commented 9 years ago

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.

gabegorelick commented 9 years ago

FYI, issues like this should be filed against grunt-angular-gettext.

NVK15 commented 9 years ago

thanks for directing!