Skip to content

Language.CultureName

property · Language · cAlgo.API Since 5.2

DesktopCLICloud

Gets the culture name of the language.

Definition

string CultureName {get;}
language.CultureName: str

Returns string

Examples

var culture = new System.Globalization.CultureInfo(Application.Language.CultureName);
Print("Balance: {0}", Account.Balance.ToString("N2", culture));
from System.Globalization import CultureInfo

culture = CultureInfo(api.Application.Language.CultureName)
api.Print(f"Culture: {culture.DisplayName}")