I'm trying desperately to create a catalog (. In) for my new application in php. 1) I created a file "trans.php" where I put all the values to be translated
For example, here is my file:
<?php
echo _e('SORTIR LA NUIT');
?>
2) I open Poedit, in the "Paths" here's what I entered (see photo) Then I save the same location of my file "php".
3) When I click "update", I have the following errors:
12:25:43: No files found in: /Users/aweaoftheworld/Desktop/test
12:25:43: Poedit did not find any files in scanned directories.
12:25:43: Entries in the catalog are probably incorrect.
12:25:43: Updating the catalog failed. Click on 'More>>' for details.
Can you help me?
Sincerely,
_()
is an alias forgettext()
php.net/manual/function.gettext.php – Baeza