Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
yii
i18n
MessageSource
loadMessages
yii\i18n\MessageSource::loadMessages PHP 메소드
MessageSource 1 문서
파일 보기
프로젝트 열기: yiisoft/yii2
loadMessages()
보호된
메소드
If translation for specific locale code such as
en-US
isn't found it tries more generic
en
.
protected
loadMessages
(
string
$category
,
string
$language
) :
array
$category
string
the message category
$language
string
the target language
리턴
array
the loaded messages. The keys are original messages, and the values are translated messages.
protected function loadMessages($category, $language) { return []; }
MessageSource
init
loadMessages
translate
translateMessage