Unit CastleSystemLanguage

Classes, Interfaces, Objects and Records
Types
Variables

Description

Cross-platform recognition of the system language/locale.

Uses

  • GetText

Overview

Functions and Procedures

function SystemLanguage(const ADefaultLanguage: String = SystemDefaultLanguage): String; inline;
function SystemLocale(const ADefaultLocale: String = SystemDefaultLocale): String; inline;

Constants

SystemDefaultLanguage = 'en';
SystemDefaultLocale = 'en_US';

Description

Functions and Procedures

function SystemLanguage(const ADefaultLanguage: String = SystemDefaultLanguage): String; inline;

Returns the language code of the system language. See SystemDefaultLanguage.

function SystemLocale(const ADefaultLocale: String = SystemDefaultLocale): String; inline;

Returns the locale code of the system locale. See SystemDefaultLocale.

Constants

SystemDefaultLanguage = 'en';

This item has no description.

SystemDefaultLocale = 'en_US';

This item has no description.


Generated by PasDoc 0.16.0-snapshot.