phpのエラー文章を翻訳して、書き出します。 出力にはgettext()に準していますが、使用していません。 言語ファイル(./languages)ファイルを追加・変更すれば様々なエラー文を翻訳することができます。
translate an error sentence of php and begin to write it. In the output in gettext() associate; do it, but do not use it. If I add language file (./languages) file and change it, I can translate various error sentences.
include_once ("init.php");
PHPLangError::init("ja");
Use of undefined constant **** - assumed '****'
タイプミスかもしれません('****')