Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Pagekit
Intl
IntlModule
getLocaleTag
Pagekit\Intl\IntlModule::getLocaleTag PHP Method
IntlModule Class Documentation
Show file
Open project: pagekit/pagekit
getLocaleTag()
public
method
Gets the current locale tag.
public
getLocaleTag
( ) :
string
return
string
public function getLocaleTag() { return str_replace('_', '-', $this->getLocale()); }
IntlModule
getAvailableLanguages
getContinents
getCountries
getData
getFormats
getGeneric
getLanguages
getLocale
getLocaleTag
getSubContinents
getTerritories
getTerritoryContainment
loadLocale
main
parse
setLocale