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
Stevebauman
Translation
Translation
setLocale
Stevebauman\Translation\Translation::setLocale PHP Method
Translation Class Documentation
Show file
Open project: stevebauman/translation
setLocale()
public
method
public
setLocale
(
$code
= '' )
public function setLocale($code = '') { $this->locale = $code; }
Translation
__construct
autoTranslateEnabled
compressString
firstOrCreateLocale
firstOrCreateTranslation
getAppLocale
getCacheLocale
getCacheTranslation
getConfigCacheTime
getConfigClient
getConfigDefaultLocale
getConfigLocaleByCode
getConfigLocaleModel
getConfigLocales
getConfigRequestSegment
getConfigTranslationModel
getDefaultTranslation
getLocale
getRoutePrefix
getTranslationCacheId
makeReplacements
makeTranslationSafePlaceholder
makeTranslationSafePlaceholders
removeCacheLocale
removeCacheTranslation
setCacheLocale
setCacheTime
setCacheTranslation
setLocale
translate
validateText