Property | Type | Description | |
---|---|---|---|
$strings | array | Translation strings. |
Method | Description | |
---|---|---|
exists ( string $key ) : boolean | Check if a translation key exists. | |
plural ( string $key, string $count, array $vars = [] ) : string | Get a plural message. | |
singular ( string $key, array $vars = [] ) : string | Get a singular message. |