« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for getPrimaryLanguage (0.003 sec.)
Locale::getPrimaryLanguage — 入力ロケールのプライマリ言語を取得する | PHP 8.3 11886
Locale::getPrimaryLanguage locale_get_primary_language (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) Locale::getPrimaryLanguage -- locale_get_primary_language — 入力ロケールのプライマリ言語を取得する 説明 オブジェクト指向型 public stat ... ic function Locale::getPrimaryLanguage ( string $locale ): ? string 手続き型 function locale_get_primary_language ( string $locale ): ? string 入力ロケールのプラ ... ary_language() の例 <?php echo locale_get_primary_language ( 'zh-Hant' ); ?> 例2 オブジェクト指向の例 <?php echo Locale :: getPrimaryLanguage ( 'zh-Hant' ); ?> 上の例の出力は以下となります。 zh 参考 locale_get_script() - 入力ロケールの文字を取得する locale_get_reg ...
https://man.mtool.work/php/8.3/locale.getprimarylanguage.html
Locale クラス | PHP 8.3 8389
Locale クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) はじめに "ロケール" とは、言語や文化等の地域固有の内容を API で取得する際に使用する識別子のことです。PHP で使用しているロケールは、 ICU (そして他の多くの Unix 系 OS や Mac、Ja ... null ): string | false public static function getKeywords ( string $locale ): array | false | null public static function getPrimaryLanguage ( string $locale ): ? string public static function getRegion ( string $locale ): ? string public static function getScrip ... nt — 入力ロケールの変化形の表示名を、適切に地域化して返す Locale::getKeywords — 入力ロケールのキーワードを取得する Locale::getPrimaryLanguage — 入力ロケールのプライマリ言語を取得する Locale::getRegion — 入力ロケールの地域を取得する Locale::getScript — 入力ロケール ...
https://man.mtool.work/php/8.3/class.locale.html
国際化関数 | PHP 8.3 7589
国際化関数 はじめに 国際化用拡張モジュール (これ以降では Intl と略します) は » ICU ライブラリのラッパーです。 PHP プログラマが、ロケール関連のさまざまな操作を行えるようにします。 フォーマット、音訳、エンコード変換、カレンダーの処理、 » UCA ... nt — 入力ロケールの変化形の表示名を、適切に地域化して返す Locale::getKeywords — 入力ロケールのキーワードを取得する Locale::getPrimaryLanguage — 入力ロケールのプライマリ言語を取得する Locale::getRegion — 入力ロケールの地域を取得する Locale::getScript — 入力ロケール ...
https://man.mtool.work/php/8.3/book.intl.html
PREV 1 NEXT