메소드 |
설명 |
|
getAvailableLanguages ( ) : array |
Gets the system's available languages. |
|
getContinents ( string $locale = null ) : array |
Gets the continents list. |
|
getCountries ( string $locale = null ) : array |
Gets the countries list. |
|
getFormats ( string $locale = null ) : array | null |
Gets the locales formats data. |
|
getLanguages ( string $locale = null ) : array | null |
Gets the languages list. |
|
getLocale ( ) : string |
Gets the current locale id. |
|
getLocaleTag ( ) : string |
Gets the current locale tag. |
|
getSubContinents ( string $locale = null ) : array |
Gets the subcontinents list. |
|
getTerritories ( string $locale = null ) : array | null |
Gets the territories list. |
|
loadLocale ( string $locale, Symfony\Component\Translation\TranslatorInterface $translator = null ) |
Loads language files. |
|
main ( Pagekit\Application $app ) |
|
|
setLocale ( string $locale ) |
Sets the current locale id. |
|