Browse Source

update locale documentation (#13027)

trop[bot] 7 years ago
parent
commit
52a44facfd
1 changed files with 3 additions and 2 deletions
  1. 3 2
      docs/api/app.md

+ 3 - 2
docs/api/app.md

@@ -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.