Skip to content

Commit

Permalink
update locale documentation (#13027)
Browse files Browse the repository at this point in the history
  • Loading branch information
trop[bot] authored and ckerr committed May 21, 2018
1 parent 5acb7a0 commit 52a44fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/api/app.md
Expand Up @@ -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.
Expand Down

0 comments on commit 52a44fa

Please sign in to comment.