I followed the instruction and created .po file with PoEdit with Language: Vietnamese, Country: VIETNAM in: my_app ./Locale/vie/LC_MESSAGES/default.po
I double check it with a plain editor to see the msgid and here is an example:
#Path
msgid "Login"
msgstr "Đăng nhập"
In the bootstrap.php: Configure::write('Config.language', 'vie'); I tried Configure::write('Config.language', 'vi'); also.
In the view file I echo __("Login"); but it still displays "Login"...
I have tried so many ways to make it work even restart Apache or my computer but no success. Any helps will be appreciated!
My ENV:
XAMPP v1.7.3 with gettext lib enabled
MAC OSX Lion 10.7.2
CakePHP 2.1.1 Stable