« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for myPHPApp (0.000 sec.)
現在のドメインのメッセージを参照する 9357
« dngettext ngettext » PHP Manual Gettext 関数 現在のドメインのメッセージを参照する 検索 gettext (PHP 4, PHP 5, PHP 7, PHP 8) gettext — 現在のドメインのメッセージを参照する 説明 function gettext ( string $message ): string 現在のドメインのメ ... に設定します putenv ( 'LC_ALL=de_DE' ); setlocale ( LC_ALL , 'de_DE' ); // 変換テーブルの場所を指定します bindtextdomain ( "myPHPApp" , "./locale" ); // ドメインを選択します textdomain ( "myPHPApp" ); // 翻訳内容は ./locale/de_DE/LC_MESSAGES/myPHPApp.mo か ... ら検索されます // テストメッセージを出力します echo gettext ( "Welcome to My PHP Application" ); // あるいは、gettext() のかわりに _() も使用可能です echo _ ( "Have a nice day" ); ?> 注意 注意 : この関数の ... 考 _() - gettext のエイリアス setlocale() - ロケール情報を設定する 関連キーワード: gettext メッセージ ドメイン 現在 翻訳 de myPHPApp string message テーブル 場合 putenv setlocale locale echo エイリアス ロケール dngettext Search ngettext ...
https://man.mtool.work/php/8.3/function.gettext.html
現在のドメインのメッセージを参照する 9357
« dngettext ngettext » PHP Manual Gettext 関数 現在のドメインのメッセージを参照する 検索 gettext (PHP 4, PHP 5, PHP 7, PHP 8) gettext — 現在のドメインのメッセージを参照する 説明 function gettext ( string $message ): string 現在のドメインのメ ... に設定します putenv ( 'LC_ALL=de_DE' ); setlocale ( LC_ALL , 'de_DE' ); // 変換テーブルの場所を指定します bindtextdomain ( "myPHPApp" , "./locale" ); // ドメインを選択します textdomain ( "myPHPApp" ); // 翻訳内容は ./locale/de_DE/LC_MESSAGES/myPHPApp.mo か ... ら検索されます // テストメッセージを出力します echo gettext ( "Welcome to My PHP Application" ); // あるいは、gettext() のかわりに _() も使用可能です echo _ ( "Have a nice day" ); ?> 注意 注意 : この関数の ... せん。 参考 _() - gettext のエイリアス setlocale() - ロケール情報を設定する 関連キーワード: gettext メッセージ ドメイン 翻訳 myPHPApp message テーブル putenv setlocale locale エイリアス ロケール dngettext ngettext Gettext チェック ドイツ語 場所 bindtextdom ...
https://man.mtool.work/php/8.3/function.gettext.html
PREV 1 NEXT