Description
This function retrieves information about the user's current locale setting.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible values |
Example |
port |
string |
The locale's text direction. |
|
ltr |
name |
string |
The locale's full name. |
A valid string. |
English |
locale |
string |
The locale's abbreviated name. |
A valid locale abbreviation. |
en |
encoding |
string |
The user's character set. |
A valid character set abbreviation. |
utf-8 |