cPanel API 2 Modules - Locale
Warning:
The cPanel API 2 system is deprecated. We strongly recommend that you use UAPI instead of cPanel API 2.
Introduction
The Locale
module accesses cPanel's language system.
Available functions
-
cPanel API 2 Functions -
Locale::get_encoding
— This function retrieves a user's character set encoding . -
cPanel API 2 Functions -
Locale::get_html_dir_attr
— This function retrieves a locale's text directionality. -
cPanel API 2 Functions -
Locale::get_locale_name
— This function displays a locale's name in the user's language. -
cPanel API 2 Functions -
Locale::get_user_locale
— This function retrieves a user's locale ID tag. -
cPanel API 2 Functions -
Locale::get_user_locale_name
— This function retrieves a user's locale's name in that locale's language. -
cPanel API 2 Functions -
Locale::numf
— This function retrieves a locale's number formatting method.