diff --git a/docs/api/app.md b/docs/api/app.md index 78f22127fd79..04ba49b729d7 100644 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -530,12 +530,6 @@ Returns `String` - The current application locale. Possible return values are do **Note:** On Windows you have to call it after the `ready` events gets emitted. -### `app.setLocale(locale)` - -* `locale` String - -Set the locale of the app (must be called before the `ready` event). - ### `app.addRecentDocument(path)` _macOS_ _Windows_ * `path` String diff --git a/docs/api/chrome-command-line-switches.md b/docs/api/chrome-command-line-switches.md index f3e189fdf43c..09c24f6c195b 100644 --- a/docs/api/chrome-command-line-switches.md +++ b/docs/api/chrome-command-line-switches.md @@ -28,6 +28,10 @@ Disables the disk cache for HTTP requests. Disable HTTP/2 and SPDY/3.1 protocols. +## --lang + +Set a custom locale. + ## --inspect=`port` and --inspect-brk=`port` Debug-related flags, see the [Debugging the Main Process][debugging-main-process] guide for details.