Online dictionary: Difference between revisions

Jump to navigation Jump to search
539 bytes added ,  16 February 2025
m
m (Text replacement - ": Image:Owl icon.jpg " to "{{Tips}} ")
Tags: Mobile edit Mobile web edit
Line 272: Line 272:
* 檔案翻譯: 否
* 檔案翻譯: 否
* 瀏覽器工具<ref>[https://help.kagi.com/kagi/ai/translate.html Kagi Translate | Kagi's Docs]</ref>: 書籤按鈕: {{kbd | key=<nowiki>javascript:(function(){var selectedText=window.getSelection().toString().trim();var url=selectedText?'https://translate.kagi.com/?from=Automatic&to=Chinese%20(Traditional)&text='+encodeURIComponent(selectedText):'https://translate.kagi.com/Automatic/Chinese%20(Traditional)/'+encodeURIComponent(window.location.href);window.open(url,'_blank');})();</nowiki>}}
* 瀏覽器工具<ref>[https://help.kagi.com/kagi/ai/translate.html Kagi Translate | Kagi's Docs]</ref>: 書籤按鈕: {{kbd | key=<nowiki>javascript:(function(){var selectedText=window.getSelection().toString().trim();var url=selectedText?'https://translate.kagi.com/?from=Automatic&to=Chinese%20(Traditional)&text='+encodeURIComponent(selectedText):'https://translate.kagi.com/Automatic/Chinese%20(Traditional)/'+encodeURIComponent(window.location.href);window.open(url,'_blank');})();</nowiki>}}
瀏覽器工具的第二個版本,可以額外設定來源語言 (sourceLanguage)
<pre>
javascript:(function(){const sourceLanguage="Automatic";const targetLanguage="Chinese (Traditional)";var selectedText=window.getSelection().toString().trim();var url=selectedText?`https://translate.kagi.com/?source=${sourceLanguage}&target=${targetLanguage}&text=${encodeURIComponent(selectedText)}`:`https://translate.kagi.com/${sourceLanguage}/${targetLanguage}/${encodeURIComponent(window.location.href)}`;window.open(url,'_blank');})();
</pre>


[https://www.reverso.net/%E6%96%87%E5%AD%97%E7%BF%BB%E8%AF%91 Reverso | Free translation, dictionary]
[https://www.reverso.net/%E6%96%87%E5%AD%97%E7%BF%BB%E8%AF%91 Reverso | Free translation, dictionary]

Navigation menu