Online dictionary: Difference between revisions

Jump to navigation Jump to search
717 bytes added ,  11 November 2025
m
→‎網頁全文翻譯 / 段落翻譯: avoid the selected text is empty
m (→‎網頁全文翻譯 / 段落翻譯: avoid the selected text is empty)
 
(4 intermediate revisions by the same user not shown)
Line 254: Line 254:
* 段落翻譯: 輸入幾個單字或段落後,翻譯成中文。
* 段落翻譯: 輸入幾個單字或段落後,翻譯成中文。


: [[Image:Owl icon.jpg]] 講個秘訣,如果日文翻中文效果不好,可以先將日文翻譯成英文、再從英文翻成中文。
{{Tips}} 講個秘訣,如果日文翻中文效果不好,可以先將日文翻譯成英文、再從英文翻成中文。


{{Gd}} [https://translate.google.com/ Google 翻譯]([https://translate.google.com/?hl=en Google Translate]) {{access | date = 2022-09-17}}
{{Gd}} [https://translate.google.com/ Google 翻譯]([https://translate.google.com/?hl=en Google Translate]) {{access | date = 2022-09-17}}
Line 271: Line 271:
* 網頁翻譯: 可
* 網頁翻譯: 可
* 檔案翻譯: 否
* 檔案翻譯: 否
* 瀏覽器工具: 書籤按鈕: {{kbd | key=<nowiki>javascript: location.href='https://translate.kagi.com/Automatic/Chinese%20(Traditional)/'+location.href</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 targetLanguage="Chinese (Traditional)";var selectedText=window.getSelection().toString().trim();var url=selectedText?`https://translate.kagi.com/?target=${targetLanguage}&text=${encodeURIComponent(selectedText)}`:`https://translate.kagi.com/`;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