Support app.setLocale() or --lang switch #588

Open
opened 2026-01-29 16:43:32 +00:00 by claunia · 0 comments
Owner

Originally created by @lukasportal on GitHub (Nov 4, 2020).

I want to manually set the locale of the app, instead of using the default one.

From here, we can see that the electron team have added app.setLocale() successfully
https://github.com/electron/electron/pull/26185

A quick workaround could be adding the switch --lang=XYZ on chromium launch.

How possible would it be to add support for any of these 2? Or is there an existing workaround for this?

Originally created by @lukasportal on GitHub (Nov 4, 2020). I want to manually set the locale of the app, instead of using the default one. From here, we can see that the electron team have added `app.setLocale()` successfully https://github.com/electron/electron/pull/26185 A quick workaround could be adding the switch `--lang=XYZ` on chromium launch. How possible would it be to add support for any of these 2? Or is there an existing workaround for this?
claunia added the Feature label 2026-01-29 16:43:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#588