Skip to content

Tankōbon / hooks/use-settings / loadSystemLanguages

Function: loadSystemLanguages() ​

loadSystemLanguages(): Promise<void>

Defined in: hooks/use-settings.ts:19

Fetches the OS's preferred languages from the main process, so the system setting resolves to the same language on both sides. Until then (or if it fails), navigator.languages stands in.

Returns ​

Promise<void>