From 867a3396afab2bc7e61f77aa62e9a237159e2e05 Mon Sep 17 00:00:00 2001 From: farisbasha Date: Wed, 18 Nov 2026 07:37:02 +0530 Subject: [PATCH] Fix dead Electron locales link in GetLocaleAsync docs The electronjs.org/docs/api/locales page no longer exists (404). Link to the app.getLocale() section of the Electron app API docs instead, which documents the possible return values. --- docs/API/App.md | 2 +- src/ElectronNET.API/API/App.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/API/App.md b/docs/API/App.md index 3ea5d3bf..959a7147 100644 --- a/docs/API/App.md +++ b/docs/API/App.md @@ -104,7 +104,7 @@ Jump List settings for the application. Jump List settings. #### 🧊 `Task GetLocaleAsync(CancellationToken cancellationToken = default)` -The current application locale. Possible return values are documented [here](https://www.electronjs.org/docs/api/locales). +The current application locale. Possible return values are documented [here](https://www.electronjs.org/docs/latest/api/app#appgetlocale). Note: When distributing your packaged app, you have to also ship the locales folder. diff --git a/src/ElectronNET.API/API/App.cs b/src/ElectronNET.API/API/App.cs index 0e92803c..9ef126fd 100644 --- a/src/ElectronNET.API/API/App.cs +++ b/src/ElectronNET.API/API/App.cs @@ -575,7 +575,7 @@ public async Task GetVersionAsync(CancellationToken cancellationToken = } /// - /// The current application locale. Possible return values are documented here. + /// The current application locale. Possible return values are documented here. /// /// Note: When distributing your packaged app, you have to also ship the locales folder. ///