Module dagon.core.locale

Provides utilities for detecting and querying the system locale.

The dagon.core.locale module determines the user's language and country code at startup, using platform-specific APIs (Windows or Posix), and exposes the locale as a string in the form "ll_CC" (e.g., "en_US").

Functions

NameDescription
systemLocale() Returns the system locale string in the form "ll_CC" (e.g., "en_US").