Conflict with _locales directory

289 views
Skip to first unread message

ank...@gmail.com

unread,
May 24, 2016, 7:22:59 AM5/24/16
to nw.js
I have a _locales directory in my codebase that is used for creating a chrome extension. This directory is causing an error when I run my code on nwjs - "Localization used but default_locale wasn't specified in the manifest".

Can I somehow configure the default_locale in the generated manifest?

shayn...@gmail.com

unread,
Jul 25, 2016, 10:38:56 PM7/25/16
to nw.js
I'm having the same issue..  using the i18n-2 node module creates a _locales directory - works fine in nwj 12 trying the latest build and this is the error I also get. 

shayn...@gmail.com

unread,
Jul 25, 2016, 10:39:48 PM7/25/16
to nw.js, shayn...@gmail.com
forgot to mention, i've tried putting default_locale in the package.json file and still unable to resolve.

Shayne

unread,
Jul 25, 2016, 11:03:50 PM7/25/16
to nw.js

So I got around this issue by just changing the path from _locales to __locales and updating my code to reflect.

Reply all
Reply to author
Forward
0 new messages