Zend_Translate - array 사용
$lang_en = array( 'active' => 'active', 'deactive' => 'deactive', 'Value is empty, but a non-empty value is required' => 'Value is empty, but a non-empty value is required' ); $lang_ko = array( 'active' => '활성', 'deactive' => '비활성', 'Value is empty, but a non-empty value is required' => '값이 비었습니다. 값을 입력해주세요.' ); $trsl = new Zend_Translate('array', $lang_en, 'en'); $trsl->addTranslation($lang_ko,..
2008. 8. 13.