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!

Отзывы

05.09.2024 1 ответ
Installed this plugin to find some strings, the page that i did need the domain said 404, than i deactivated the plugin and eliminated and now have all my widgets in shortcodes instead the texts. Screwed everything up.
12.07.2023
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.
26.07.2018 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!
Посмотреть все 4 отзыва

Участники и разработчики

«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.