內容簡介
您有沒有遇到過想要翻譯的可翻譯字串但卻不知道該字串的文字域是什麼,讓您感到沮喪嗎?即使您具有寫程式的技能,此任務也可能很具有挑戰性且需要花費很多時間。
此外掛程式旨在解決這個問題,讓網站管理員能夠直接在瀏覽器中查看可翻譯字串的文字域。
使用方法:
* 在管理員選單列中按下「檢視文字域」按鈕;
* 可翻譯字串旁會出現紅點;
* 懸停於紅點上即可查看文字域;
* 開啟瀏覽器中的原始碼以查看 HTML 屬性中的文字域 (Ctrl+U (Windows) / Cmd+Opt+U (Mac))。
此外掛程式能夠在以下情況下使用:
* HTML 文件;
* HTML 片段;
* HTML 屬性;
* 純文字;
* 透過 AJAX 動態載入的內容;
* JSON;
外掛標籤
開發者團隊
原文外掛簡介
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;
