i have followed the instructions in http://www.bunchacode.com/programming/internationalization-and-localization-in-cakephp/
but i keep getting this error
xgettext: language `php’ unknown
i have googled like crazy. i cannot find it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To solve this you need to tell xgettext to use PHP as language for your files (when using file extensions like
.phtmlor similar.In Poedit open the settings, go to the parser tab, select
PHPand then click edit. In the parser line with xgettext add--language=PHPso it looks like this:Maybe you need to add some extensions of PHP files to the extension input field above that occur in your project, for example:
This should be enough.