![]() |
|
|||
|
Hello,
for translation I would like to use poEdit. In the documentation of Zend, I found this to use it: [PHP] print $translate->_("Example")."\n"; print "=======\n"; print $translate->_("Here is line one")."\n"; [/PHP] But poEdit doesn't find anything in the code. I told it to search for _ How can I resolve this problen? Thanks for help. |
|
|||
|
This problem is due to xgettext not recognizing *.phtml files. Change php-settings in tab for code interpreters
1. Add to files: *.php;*.phtml 2. Add -L php to xgettext: "xgettext --force-po -o %o %C %K %F -L php" Works like a charm (should be set by default by poEdit but no-one's perfect) |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
| Designed by: Miner Skinz |
Powered by vBulletin® Version 3.8.4 Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Search Engine Friendly URLs by vBSEO 3.1.0 |
![]() |