]> khamidou — GitHub mirrors - electron.git/commitdiff
Add docs for app.getLocale()
authorRyohei Ikegami <iofg2100@gmail.com>
Wed, 16 Sep 2015 08:17:49 +0000 (17:17 +0900)
committerRyohei Ikegami <iofg2100@gmail.com>
Wed, 16 Sep 2015 08:17:49 +0000 (17:17 +0900)
docs/api/app.md

index 85ad873de30d1005b220efd8918ba88efa9e5ad5..e4a8d561e2f507202540ac63b933a8a2581435dc 100644 (file)
@@ -239,6 +239,10 @@ to the npm modules spec. You should usually also specify a `productName`
 field, which is your application's full capitalized name, and which will be
 preferred over `name` by Electron.
 
+### `app.getLocale()`
+
+Returns the current application locale.
+
 ### `app.resolveProxy(url, callback)`
 
 * `url` URL