electron-packager-languages
v0.6.0
Published
Electron Packager Plugin: Languages --------------------------- [](https://github.com/barinali/electron-packager-languages/blob/master/LICENSE) [;
electronPackager({
...
afterCopy: [setLanguages(['en', 'en_GB'])]
})Note that different platforms have different language/locale identifiers, e.g. Windows has en-GB while macOS has en_GB. See also issue #57.
In order to protect users from accidentally removing all languages from an app, there's an allowRemovingAll option that defaults to false. It can be overridden like this: setLanguages(['en', 'en_GB'], { allowRemoveAll: true }).
