{"id":42652,"date":"2016-03-21T18:41:09","date_gmt":"2016-03-21T18:41:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-cldr\/"},"modified":"2016-03-22T02:55:31","modified_gmt":"2016-03-22T02:55:31","slug":"wp-cldr","status":"publish","type":"plugin","link":"https:\/\/ja.wordpress.org\/plugins\/wp-cldr\/","author":245314,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"4.4.34","requires":"4.4","requires_php":"","requires_plugins":"","header_name":"WP CLDR","header_author":"Automattic","header_description":"","assets_banners_color":"","last_updated":"2016-03-22 02:55:31","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/Automattic\/wp-cldr","header_author_uri":"https:\/\/automattic.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":6956,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.9","1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1375816","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1375816","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1375816","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1375816","resolution":"4","location":"assets"}},"screenshots":{"1":"Examples of data available for the locale <code>es_MX<\/code>, Spanish (Mexico)","2":"Examples of data available for the locale <code>pt_BR<\/code>, Portuguese (Brazil)","3":"Examples of data available for the locale <code>zh_CN<\/code>, Chinese (China)","4":"Examples of data available for the locale <code>hi_IN<\/code>, Hindi"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[68020,104,8582,1984,1734,9654],"plugin_category":[48],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-42652","plugin","type-plugin","status-publish","hentry","plugin_tags-cldr","plugin_tags-i18n","plugin_tags-internationalization","plugin_tags-l10n","plugin_tags-localization","plugin_tags-unicode","plugin_category-language-tools","plugin_committers-jblz","plugin_committers-stuwest"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-cldr.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-cldr\/assets\/screenshot-1.png?rev=1375816","caption":"Examples of data available for the locale <code>es_MX<\/code>, Spanish (Mexico)"},{"src":"https:\/\/ps.w.org\/wp-cldr\/assets\/screenshot-2.png?rev=1375816","caption":"Examples of data available for the locale <code>pt_BR<\/code>, Portuguese (Brazil)"},{"src":"https:\/\/ps.w.org\/wp-cldr\/assets\/screenshot-3.png?rev=1375816","caption":"Examples of data available for the locale <code>zh_CN<\/code>, Chinese (China)"},{"src":"https:\/\/ps.w.org\/wp-cldr\/assets\/screenshot-4.png?rev=1375816","caption":"Examples of data available for the locale <code>hi_IN<\/code>, Hindi"}],"raw_content":"<!--section=description-->\n<p>This plugin gives WordPress developers easy access to localized country, region, language, currency, time zone, and calendar info from the <a href=\"http:\/\/cldr.unicode.org\/\">Unicode Common Locale Data Repository<\/a>.<\/p>\n <p>With the plugin active, WordPress developers can access the following for over 100 WordPress locales:<\/p>\n <ul>\n<li>Names for countries (and ISO 3166 country codes).<\/li>\n<li>Names for regions (and UN M.49 region codes, plus countries included in each region).<\/li>\n<li>Names for languages (and ISO 639 language codes).<\/li>\n<li>Names and symbols for currencies (and ISO 4317 currency codes).<\/li>\n<li>Names for time zone example cities (and IANA time zone IDs).<\/li>\n<li>Calendar information including the first day of the week in different countries.<\/li>\n<li>Country information including telephone codes, most spoken languages, currency, and population.<\/li>\n<\/ul>\n <p>More information in the <a href=\"https:\/\/automattic.github.io\/wp-cldr\/class-WP_CLDR.html\">detailed API documentation<\/a>.<\/p>\n <p>CLDR is a library of localization data coordinated by Unicode. It emphasizes <a href=\"http:\/\/cldr.unicode.org\/translation\/country-names\">common, everyday usage<\/a> and is available in over 700 language-region locales. It is <a href=\"http:\/\/cldr.unicode.org\/index\/downloads\">updated every six months<\/a> and used by <a href=\"http:\/\/cldr.unicode.org\/#TOC-Who-uses-CLDR-\">all major software systems<\/a>. CLDR data is licensed under <a href=\"http:\/\/unicode.org\/copyright.html#Exhibit1\">Unicode's data files and software license<\/a> which is on <a href=\"https:\/\/www.gnu.org\/philosophy\/license-list.html#Unicode\">the list of approved GPLv2 compatible licenses<\/a>.<\/p>\n <p>Follow along with or contribute to the development of this plugin at https:\/\/github.com\/Automattic\/wp-cldr.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>See the plugin in action via its settings page.<\/li>\n<li>Build CLDR data into your site by using <a href=\"https:\/\/automattic.github.io\/wp-cldr\/class-WP_CLDR.html\">methods in the API documentation<\/a><\/li>\n<\/ol>\n\n<!--section=faq-->\n<h4>What locales are included?<\/h4>\n <p>The plugin ships with JSON files for over 100 WordPress locales including <code>ar<\/code>, <code>ary<\/code>, <code>az<\/code>, <code>bg_BG<\/code>, <code>bn_BD<\/code>, <code>bs_BA<\/code>, <code>ca<\/code>, <code>cy<\/code>, <code>da_DK<\/code>, <code>de_CH<\/code>, <code>de_DE<\/code>, <code>de_DE_formal<\/code>, <code>el<\/code>, <code>en_US<\/code>, <code>en_AU<\/code>, <code>en_CA<\/code>, <code>en_GB<\/code>, <code>en_NZ<\/code>, <code>en_ZA<\/code>, <code>eo<\/code>, <code>es_AR<\/code>, <code>es_CL<\/code>, <code>es_CO<\/code>, <code>es_ES<\/code>, <code>es_GT<\/code>, <code>es_MX<\/code>, <code>es_PE<\/code>, <code>es_VE<\/code>, <code>et<\/code>, <code>eu<\/code>, <code>fa_IR<\/code>, <code>fi<\/code>, <code>fr_BE<\/code>, <code>fr_CA<\/code>, <code>fr_FR<\/code>, <code>gd<\/code>, <code>gl_ES<\/code>, <code>he_IL<\/code>, <code>hi_IN<\/code>, <code>hr<\/code>, <code>hu_HU<\/code>, <code>hy<\/code>, <code>id_ID<\/code>, <code>is_IS<\/code>, <code>it_IT<\/code>, <code>ja<\/code>, <code>ka_GE<\/code>, <code>ko_KR<\/code>, <code>lt_LT<\/code>, <code>ms_MY<\/code>, <code>my_MM<\/code>, <code>nb_NO<\/code>, <code>nl_NL<\/code>, <code>nl_NL_formal<\/code>, <code>nn_NO<\/code>, <code>pl_PL<\/code>, <code>ps<\/code>, <code>pt_BR<\/code>, <code>pt_PT<\/code>, <code>ro_RO<\/code>, <code>ru_RU<\/code>, <code>sk_SK<\/code>, <code>sl_SI<\/code>, <code>sq<\/code>, <code>sr_RS<\/code>, <code>sv_SE<\/code>, <code>th<\/code>, <code>tl<\/code>, <code>tr_TR<\/code>, <code>ug_CN<\/code>, <code>uk<\/code>, <code>vi<\/code>, <code>zh_CN<\/code>, <code>zh_TW<\/code>.<\/p>\n <h4>Is there testing?<\/h4>\n <p>Yes! The class includes a suite of PHPUnit tests. To run them, call <code>phpunit<\/code> from the plugin directory.<\/p>\n <h4>Can the plugin handle high volume?<\/h4>\n <p>The plugin includes two layers of caching (in-memory arrays and the WordPress object cache) and is designed for high volume use. It is currently used on WordPress.com.<\/p>\n <h4>Where do the JSON files come from?<\/h4>\n <p>The scripts used to collect the JSON files are included in the repo. A bash script <code>bash get-cldr-files.sh<\/code> uses wget to collect the files from <a href=\"http:\/\/cldr.unicode.org\/index\/cldr-spec\/json\">Unicode's reference distribution of CLDR JSON on GitHub<\/a>; a command-line PHP script <code>php prune-cldr-files.php<\/code> removes unneeded locales and locale files from that download. Both should be run from within the <code>wp-cldr<\/code> directory.<\/p>\n <h4>Where can I report issues?<\/h4>\n <p>Open up a new issue on GitHub at https:\/\/github.com\/Automattic\/wp-cldr\/issues. We love pull requests!<\/p>\n\n<!--section=changelog-->\n<h4>1.0 (Mar 21, 2016)<\/h4>\n <ul>\n<li>Documentation &amp; localization cleanup<\/li>\n<\/ul>\n <h4>0.9 (Mar 17, 2016)<\/h4>\n <ul>\n<li>initial versioned release (for plugin review)<\/li>\n<\/ul>","raw_excerpt":"Gives WordPress developers easy access to localized country, region, language, currency, time zone, and calendar info.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/42652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=42652"}],"author":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/stuwest"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=42652"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=42652"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=42652"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=42652"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=42652"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=42652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}