| Fully Qualified Name: | CodeIgniter\Language\Language |
Handle system messages and localization.
Locale-based, built on top of PHP internationalization.
| Name | Description | Defined By |
|---|---|---|
| __construct() | Language | |
| getLine() | Parses the language string for a file, loads the file, if necessary, getting the line. | Language |
| getLocale() | Language | |
| setLocale() | Sets the current locale to use when performing string lookups. | Language |
| Parameter Name | Type | Description |
|---|---|---|
| $locale |
Returns: void
Parses the language string for a file, loads the file, if necessary, getting the line.
| Parameter Name | Type | Description |
|---|---|---|
| $line | string | Line. |
| $args | array | Arguments. |
Returns: string|string[] Returns line.
Returns: string
Sets the current locale to use when performing string lookups.
| Parameter Name | Type | Description |
|---|---|---|
| $locale | string |
Returns: $this