Text Domain Inspector

描述

Have you ever been frustrated when trying to find the text domain of translatable string you want to translate? This task can be challenging and it can take a lot of your time even if you have code reading skills.

This plugin aims to solve this problem by allowing website administrator to inspect text domains of translatable strings directly in the browser.

How to use:
* Press “Inspect Text Domains” button in admin menu bar;
* Red dots will appear next to translatable strings;
* Hover the red dot to view the text domain;
* Open source code in the browser to view text domains in HTML attributes (ctrl+u (Windows) / cmd+opt+u (Mac));

Works in:
* HTML documents;
* HTML fragments;
* HTML attributes;
* Plain text;
* Dynamically loaded content (through AJAX);
* JSON;

螢幕截圖

  • In the browser.
  • HTML attributes which are visible in the browser.
  • HTML attributes in the source code.
  • JSON AJAX response.

安裝

Upload this plugin to your website and activate it.

You’re done!

評價

2023年7月12日
Why did I find this plugin so late?This is what I've been looking for a long time. Thank you very much.Kudos to the developer and congratulations.
2023年7月3日
This plugin can inspect the text domain that belongs to which plugin or theme, whatever front-end or back-end. If you want to do complete or partial localization for the plugin or theme, Text Domain Inspector is the must-have tool.
2018年7月26日 1 reply
Thank you so much for creating such a useful plugin. I couldn’t find any simple plugin to find translatable strings for years. This plugin is a time saver!
閱讀全部3個評價

貢獻者及開發者

“Text Domain Inspector” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Text Domain Inspector 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Text Domain Inspector 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1

  • Added support for i18n
  • Text domain is now appended as a query param if string is a URL (fixes the error for WP >= 5.9)

1.0

  • Initial version.