|
@@ -531,8 +531,9 @@ Overrides the current application's name.
|
|
|
|
|
|
### `app.getLocale()`
|
|
|
|
|
|
-Returns `String` - The current application locale. Possible return values are documented
|
|
|
-[here](locales.md).
|
|
|
+Returns `String` - The current application locale. Possible return values are documented [here](locales.md).
|
|
|
+
|
|
|
+To set the locale, you'll want to use a command line switch at app startup, which may be found [here](https://github.com/electron/electron/blob/master/docs/api/chrome-command-line-switches.md).
|
|
|
|
|
|
**Note:** When distributing your packaged app, you have to also ship the
|
|
|
`locales` folder.
|