From 52a44facfd10d079bf403ca75ab2d8a04bece78e Mon Sep 17 00:00:00 2001 From: "trop[bot]" Date: Mon, 21 May 2018 15:07:46 -0500 Subject: [PATCH] update locale documentation (#13027) --- docs/api/app.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/api/app.md b/docs/api/app.md index b668daef3f0ed..40fdf2669442c 100644 --- a/docs/api/app.md +++ b/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.