Gets the current locale
public static current_locale ( boolean $persist = true ) : string | ||
$persist | boolean | Attempt to persist any detected locale within session / cookies |
return | string | i18n locale code |
public static current_locale ( boolean $persist = true ) : string | ||
$persist | boolean | Attempt to persist any detected locale within session / cookies |
return | string | i18n locale code |