CultureInfo The culture used to detect the locale; by default the device's current UI culture.
Returns the system culture used to detect the startup locale.
By default this returns Globalization.CultureInfo.CurrentUICulture. Override it in a derived selector to supply
a fixed culture, which is useful for testing locale detection without changing the device settings.
<para>Overrides the detected culture to always report German.</para>
using System.Globalization; using Unity.Localization;
namespace Unity.Localization.Samples { public class SystemCultureOverrideExample : SystemLocaleSelector { protected override CultureInfo GetSystemCulture() => new CultureInfo("de"); } }