New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"locales" directory creation #2244
Comments
👍, what's the reasoning behind this directory? |
Same question. What is it the purpose of this folder? |
+1 can this be fixed? |
1 similar comment
+1 can this be fixed? |
+1 please fix |
If you are using 0.12.X you can perform a workaround. To do this delete the locales directory completely. Then add this code to run when your app runs. This isn't usable on 0.13.0 because the locales directory is required by nw.js. var fs = require('fs');
var path = require("path").dirname(process.execPath);
fs.rmdir(path + '/locales'); |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
locales folder is required by nwjs now, I thinks this issue can be closed. @rogerwang |
The locales folder uses over 30MB of space, does NW.js really need all the different language files? Is there any actual user-visible text that depends on this data, or is it safe to only include en_US or something? |
Is there clean a way to exclude or include only some locales? |
You can remove languages files that are not needed. |
After deletion of the "locales" directory NW silently create it again but newer fills it with some content. Is there any sense to have empty "locales" directory? If no, maybe just not create it if no exist.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: