看板
[ PHP ]
討論串[請益] cakephp 多語系的問題
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
這部份 CakePHP 的處理比較沒有辦法使用多國語系.... 建議利用 FormHelper 的 error method 來處理會比較有彈性... http://api.cakephp.org/class/form-helper#method-FormHelpererror. 或是直接在 For
(還有7個字)
內容預覽:
一般cakephp多語系好像是用po mo檔編輯. 然後輸出時用__('message');輸出. 或__('message',true)取出字串. 我碰到的問題是. model裡面可以設定欄位條件. 例如not empty. var $validate = array(. 'field_name'
(還有267個字)
首頁
上一頁
1
下一頁
尾頁