【发布时间】:2012-02-24 02:04:31
【问题描述】:
我正在拼命地为我在 php 中的新应用程序创建一个目录 (.in)。 1)我创建了一个文件“trans.php”,我把所有要翻译的值放在里面
例如,这是我的文件:
<?php
echo _e('SORTIR LA NUIT');
?>
2)我打开 Poedit,在“路径”中输入了我输入的内容(见图) 然后我保存我的文件“php”的相同位置。
3) 当我点击“更新”时,出现以下错误:
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.
你能帮帮我吗?
此致,
【问题讨论】:
-
_()是gettext()php.net/manual/function.gettext.php 的别名