Interface Locale

Index

Properties

Methods

Properties

public currentCountry: string

public currentLanguage: string

public currentLocale: string

Methods

public formatTelephoneNumber(number: string): string

Parameters

  • number: string

Returns

string

public getCurrencyCode(locale: string): string

Parameters

  • locale: string

Returns

string

public getCurrencySymbol(currencyCode: string): string

Parameters

  • currencyCode: string

Returns

string

public getCurrentCountry(): string

Returns

string

public getCurrentLanguage(): string

Returns

string

public getCurrentLocale(): string

Returns

string

public getLocaleCurrencySymbol(locale: string): string

Parameters

  • locale: string

Returns

string

public getString(key: string, hint?: string): string

Parameters

  • key: string
  • hint?: string optional

Returns

string