內容簡介
此外掛讓 WordPress 開發者可以輕鬆存取自Unicode常用地區資料庫 的當地化國家、地區、語言、貨幣、時區和行事曆資訊。
啟用此外掛後,WordPress 開發者可取得以下超過 100 種 WordPress 地區設定的資訊:
國家名稱 (及 ISO 3166 國家代碼)。
地區名稱 (及聯合國 M.49 地區代碼,列出每個地區包括的國家)。
語言名稱 (及 ISO 639 語言代碼)。
貨幣名稱和符號 (及 ISO 4317 貨幣代碼)。
時區範例城市名稱 (及 IANA 時區 ID)。
行事曆資訊,包括不同國家每週的第一天。
國家資訊,包括電話代碼、最常使用的語言、貨幣和人口數。
有關詳細的 API 文件,請參閱 此連結。
CLDR 是由 Unicode 協調的本地化資料庫。它強調常見且日常的用法,並提供超過 700 種語言設定。它每六個月更新一次,並被所有主要的軟體系統使用。CLDR 資料受 Unicode 資料檔案和軟體授權的許可證,該許可證在符合 GPLv2 的授權清單中。
立即在 https://github.com/Automattic/wp-cldr 跟著開發此外掛,或協助開發。
外掛標籤
開發者團隊
原文外掛簡介
This plugin gives WordPress developers easy access to localized country, region, language, currency, time zone, and calendar info from the Unicode Common Locale Data Repository.
With the plugin active, WordPress developers can access the following for over 100 WordPress locales:
Names for countries (and ISO 3166 country codes).
Names for regions (and UN M.49 region codes, plus countries included in each region).
Names for languages (and ISO 639 language codes).
Names and symbols for currencies (and ISO 4317 currency codes).
Names for time zone example cities (and IANA time zone IDs).
Calendar information including the first day of the week in different countries.
Country information including telephone codes, most spoken languages, currency, and population.
More information in the detailed API documentation.
CLDR is a library of localization data coordinated by Unicode. It emphasizes common, everyday usage and is available in over 700 language-region locales. It is updated every six months and used by all major software systems. CLDR data is licensed under Unicode’s data files and software license which is on the list of approved GPLv2 compatible licenses.
Follow along with or contribute to the development of this plugin at https://github.com/Automattic/wp-cldr.
