mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
docs: remove api/locales page (#28911)
This page is just a table writing out the contents of an array in the Chromium source code. We don't actively maintain it, and it's only referenced in one API, so it makes sense to just link directly to the code here.
This commit is contained in:
@@ -695,7 +695,8 @@ 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, fetched using Chromium's `l10n_util` library.
|
||||
Possible return values are documented [here](https://source.chromium.org/chromium/chromium/src/+/master:ui/base/l10n/l10n_util.cc).
|
||||
|
||||
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/command-line-switches.md).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user