{"id":41273,"date":"2016-01-13T07:57:11","date_gmt":"2016-01-13T07:57:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/debug-bar-localization\/"},"modified":"2016-04-30T05:32:33","modified_gmt":"2016-04-30T05:32:33","slug":"debug-bar-localization","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/debug-bar-localization\/","author":6788792,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"4.5.33","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Debug Bar Localization","header_author":"Juliette Reinders Folmer","header_description":"","assets_banners_color":"e8e8e8","last_updated":"2016-04-30 05:32:33","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=995SSNDTCVBJG","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/debug-bar-localization\/","header_author_uri":"http:\/\/www.adviesenzo.nl\/","rating":5,"author_block_rating":0,"active_installs":20,"downloads":4059,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1":"<ul>\n<li>Upgrade recommended. WP 4.5 compatibility &amp; some bug fixes and enhancements.<\/li>\n<\/ul>","1.0":"<ul>\n<li>Initial release.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1327261","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1327261","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1327261","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1327261","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1327261","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1327261","resolution":"3","location":"assets"}},"screenshots":{"1":"Debug Bar Localization displaying basic statistics.","2":"Debug Bar Localization displaying textdomains without a 'load call'.","3":"Debug Bar Localization displaying the load textdomain calls made."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[12751,23021,1385,1734],"plugin_category":[48,59],"plugin_contributors":[78237],"plugin_business_model":[],"class_list":["post-41273","plugin","type-plugin","status-publish","hentry","plugin_tags-debug-bar","plugin_tags-debugbar","plugin_tags-language","plugin_tags-localization","plugin_category-language-tools","plugin_category-utilities-and-tools","plugin_contributors-jrf","plugin_committers-jrf"],"banners":{"banner":"https:\/\/ps.w.org\/debug-bar-localization\/assets\/banner-772x250.png?rev=1327261","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/debug-bar-localization\/assets\/icon-128x128.png?rev=1327261","icon_2x":"https:\/\/ps.w.org\/debug-bar-localization\/assets\/icon-256x256.png?rev=1327261","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/debug-bar-localization\/assets\/screenshot-1.png?rev=1327261","caption":"Debug Bar Localization displaying basic statistics."},{"src":"https:\/\/ps.w.org\/debug-bar-localization\/assets\/screenshot-2.png?rev=1327261","caption":"Debug Bar Localization displaying textdomains without a 'load call'."},{"src":"https:\/\/ps.w.org\/debug-bar-localization\/assets\/screenshot-3.png?rev=1327261","caption":"Debug Bar Localization displaying the load textdomain calls made."}],"raw_content":"<!--section=description-->\n<p>Debug Bar Localization adds a new panel to the Debug Bar which displays information on the locale for your install and the language files loaded.<\/p>\n\n<p>Additionally it will show you:<\/p>\n\n<ul>\n<li>The installed languages.<\/li>\n<li>Which text-domains were called from translation functions while no <code>load_..._textdomain()<\/code> call was found for that text-domain.<\/li>\n<li>For which text-domains <code>load_..._textdomain()<\/code> was called more than once.<\/li>\n<li>Which files WP tried to load to obtain a translation and whether this was successful.<\/li>\n<li>If successful: how many translated strings were found and when the translation was last updated.<\/li>\n<\/ul>\n\n<blockquote>\n  <p><strong>Did you know ?<\/strong><\/p>\n  \n  <p>During the creating and continued development of this plugin a - localization related - performance issue and a bug were found in WordPress itself.\n  For each of these I've send in patches. The end-results are now in core.<\/p>\n  \n  <p>Want to know more ? Here they are: <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35439\">Trac 35439<\/a> and <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/35442\">Trac 35442<\/a> (and related: <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/21319\">Trac 21319<\/a> )<\/p>\n<\/blockquote>\n\n<h4>Important<\/h4>\n\n<p>This plugin requires the <a href=\"https:\/\/wordpress.org\/plugins\/debug-bar\/\">Debug Bar<\/a> plugin to be installed and activated.<\/p>\n\n<p>Also note that this plugin should be used solely for debugging and\/or in a development environment and is not intended for use on a production site.<\/p>\n\n\n\n<p>If you like this plugin, please <a href=\"https:\/\/wordpress.org\/support\/view\/plugin-reviews\/debug-bar-localization\">rate and\/or review<\/a> it. If you have ideas on how to make the plugin even better or if you have found any bugs, please report these in the <a href=\"https:\/\/wordpress.org\/support\/plugin\/debug-bar-localization\">Support Forum<\/a> or in the <a href=\"https:\/\/github.com\/jrfnl\/debug-bar-localization\/issues\">GitHub repository<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install Debug Bar if not already installed (https:\/\/wordpress.org\/plugins\/debug-bar\/).<\/li>\n<li>Extract the .zip file for this plugin and upload its contents to the <code>\/wp-content\/plugins\/<\/code> directory. Alternatively, you can install directly from the Plugin directory within your WordPress Install.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<\/ol>\n\n<p>Don't use this plugin on a live site. This plugin is <strong>only<\/strong> intended to be used for development purposes.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Can it be used on live site ?<\/dt>\n<dd><p>This plugin is only meant to be used for development purposes, but shouldn't cause any issues if run on a production site.<\/p><\/dd>\n<dt>What is internationalization ?<\/dt>\n<dd><blockquote>\n  <p>Internationalization is the process of developing your plugin\/theme so that it can easily be translated into other languages.<\/p>\n<\/blockquote>\n\n<p>Ref: <a href=\"https:\/\/developer.wordpress.org\/plugins\/internationalization\/\">Plugin Handbook<\/a> \/ <a href=\"https:\/\/developer.wordpress.org\/themes\/functionality\/internationalization\/\">Theme Handbook<\/a><\/p><\/dd>\n<dt>What is localization ?<\/dt>\n<dd><blockquote>\n  <p>Localization describes the subsequent process of translating an internationalized plugin\/theme.<\/p>\n<\/blockquote>\n\n<p>Ref: <a href=\"https:\/\/developer.wordpress.org\/plugins\/internationalization\/localization\/\">Plugin Handbook<\/a> \/ <a href=\"https:\/\/developer.wordpress.org\/themes\/functionality\/localization\/\">Theme Handbook<\/a><\/p><\/dd>\n<dt>How do I internationalize my theme\/plugin ?<\/dt>\n<dd><p>For plugins, see the <a href=\"https:\/\/developer.wordpress.org\/plugins\/internationalization\/how-to-internationalize-your-plugin\/\">Plugin Handbook on Internationalization<\/a>.<\/p>\n\n<p>For themes, see the <a href=\"https:\/\/developer.wordpress.org\/themes\/functionality\/internationalization\/\">Theme Handbook on Internationalization<\/a>.<\/p><\/dd>\n<dt>How do I localize my theme \/ plugin ?<\/dt>\n<dd><p>For plugins, see the <a href=\"https:\/\/developer.wordpress.org\/plugins\/internationalization\/localization\/\">Plugin Handbook on Localization<\/a>.<\/p>\n\n<p>For themes, see the <a href=\"https:\/\/developer.wordpress.org\/themes\/functionality\/localization\/\">Theme Handbook on Localization<\/a>.<\/p><\/dd>\n<dt>Why is my `load_..._textdomain()` call not listed ?<\/dt>\n<dd><p>There are several potential reasons for this:<\/p>\n\n<ol>\n<li>You might not be loading the translations correctly. See the above referenced handbook pages for more information.<\/li>\n<li>You might be loading your translations selectively (lean loading), only on the pages they are needed. If so, make sure you are viewing such a page to see your translation listed.<\/li>\n<li>You might be loading your translations too early or too late. Translations are best loaded on the <code>(admin_)init<\/code> hook. For more information see <a href=\"http:\/\/geertdedeckere.be\/article\/loading-wordpress-language-files-the-right-way\">this article<\/a>.<\/li>\n<\/ol>\n\n<p>In particular take note of the following:\nIf your textdomain is loaded before this plugin is loaded, <em>i.e. if you load your textdomain on the PHP file load from a must-use plugin<\/em>, <em>or<\/em> if your textdomain is loaded very late, <em>i.e. after the admin bar has loaded<\/em>, this plugin can not pick up on the <code>load_..._textdomain()<\/code> call.<\/p><\/dd>\n<dt>Why won't the plugin activate ?<\/dt>\n<dd><p>Have you read what it says in the beautifully red bar at the top of your plugins page ? As it says there, the Debug Bar plugin needs to be active for this plugin to work. If the Debug Bar plugin is not active, this plugin will automatically de-activate itself.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1 (2016-04-29 )<\/h4>\n\n<ul>\n<li>[Enhancement] Don't show warning about duplicate load calls on plugins page as that's caused by core, not by a plugin and the warning could be misleading.<\/li>\n<li>[Enhancement] Make loading of 'our own' text-domain compatible with use of this plugin in the <code>must-use<\/code> plugins directory.<\/li>\n<li>[Enhancement] Improve categorization of the loaded text-domains. This mainly applies to text-domains for which the mo_file paths are being filtered.<\/li>\n<li><p>[Enhancement] Added a section showing potentially unnecessary\/inefficient <code>load_textdomain<\/code> calls.<\/p><\/li>\n<li><p>[Bugfix] The plugin loading order functions were inadvertently checking the wrong value and - in single site - install, adding an invalid value to the active plugins list causing incorrect 'plugin deactivated as file not found' notices.<\/p><\/li>\n<li><p>[Compatibility] Fix WP 4.5 compatibility - the check whether a text-domain <code>load<\/code> call was made (ab)used a bug in the <code>is_textdomain_loaded()<\/code> function. <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/21319\">This bug<\/a> was fixed in WP 4.5. Fixed by creating a work-around to still be able to provide this information.<\/p><\/li>\n<li>[Compatibility] Prevent PHP error notices in WP &lt; 4.0.<\/li>\n<li>General housekeeping<\/li>\n<\/ul>\n\n<h4>1.0 (2016-01-13)<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Debug Bar Localization adds a new panel to the Debug Bar which displays information on the locale for your install and the language files loaded.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/41273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=41273"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jrf"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=41273"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=41273"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=41273"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=41273"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=41273"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=41273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}