디렉토리 구조는 같다이yii1에서 모든 언어 배열을 얻는 방법은 무엇입니까?
modules/
/module1
/messages/
/en
/admin.php
/profile.php
/ru/
/admin.php
/profile.php
/module2/
/messages/
/en
/account.php
/stats.php
/ru
/account.php
/stats.php
도스 PHP 파일의 각 배열에 의해
return array(
'hello' => 'aloha'
);
그래서 예를 들어, 같은 텍스트 문자열의 키 값 쌍을 포함하는 경우 내부의 거대한 배열을 가지고 방법 각 파일에 배열 가져 오기?
당신이 얻을 것을 목표로 그 모든 파일 안에있는 모든 배열? 또는 특정 언어? – hassan
예를 들어 영어 (en) .. en 디렉터리 아래의 각 파일에서 배열을 가져 오는 방법은 무엇입니까? – sasori
이 말씀이 있으십니까? http://www.yiiframework.com/wiki/638/simple-example-for-language-translation/ – dimis283