Method | Description | |
---|---|---|
getCountry ( $language = null ) : string | Returns only the country part of the language code. | |
getLanguage ( $language = null ) : string | Returns only the language part of the provided or current language code. | |
getLanguageCodeParts ( $language = null ) : array | Returns the different parts of the provided or current language code. | |
isRtl ( $language ) : boolean | Check if language is an rtl language |
public static getCountry ( $language = null ) : string | ||
return | string |
public static getLanguage ( $language = null ) : string | ||
return | string |
public static getLanguageCodeParts ( $language = null ) : array | ||
return | array |