Bitrix Site Manager

CSaleLocation::GetCountryLangByID

array
CSaleLocation::GetCountryLangByID(
  int ID,
  string strLang = LANGUAGE_ID
);

The method GetCountryLangByID returns the language dependent parameters of a country.

Parameters

ParameterDescription
ID The country ID.
strLang The ID of the language in which the language-dependent parameters will be returned. By default, the current language is used.

Return Values

Returns an associated array with the following keys.

Key Description
ID The record ID.
CITY_ID The country ID.
LID Language.
NAME Language-dependent country name
SHORT_NAME Short language-dependent country name abbreviation.