Unit CastleSystemLanguage

Classes, Interfaces, Objects and Records
Types
Variables

Description

Cross-platform recoginition 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';
 
SystemDefaultLocale = 'en_US';
 

Generated by PasDoc 0.15.0.