You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/app.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -531,8 +531,9 @@ Overrides the current application's name.
531
531
532
532
### `app.getLocale()`
533
533
534
-
Returns `String` - The current application locale. Possible return values are documented
535
-
[here](locales.md).
534
+
Returns `String` - The current application locale. Possible return values are documented [here](locales.md).
535
+
536
+
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).
536
537
537
538
**Note:** When distributing your packaged app, you have to also ship the
0 commit comments