该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

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!

评价

2018年7月26日 1 回复
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!
阅读所有1条评价

贡献者及开发者

“Text Domain Inspector” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Text Domain Inspector”插件已被翻译至1种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Text Domain Inspector”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial version.