```html
CopyTranslate - 設定指南 - AI 驅動翻譯器
取得 API 金鑰
OpenAI API 金鑰
若要取得 OpenAI (ChatGPT 模型) 的 API 金鑰:
- 前往 OpenAI 的 API 頁面
- 使用您的 OpenAI 帳戶登入。
- 導覽至設定中的 API 金鑰。
- 按一下建立新的金鑰。
- 複製並安全地儲存金鑰,因為您將無法再次檢視它。
Gemini API 金鑰
若要取得 Gemini (Google AI 模型) 的 API 金鑰:
- 前往 Google AI Studio
- 使用您的 Google 帳戶登入。
- 導覽至 API 金鑰,然後按一下產生 API 金鑰。
- 複製並安全地儲存 API 金鑰。
Gemini API 金鑰
若要取得 Gemini (Google AI 模型) 的 API 金鑰:
- 前往 Google AI Studio
- 使用您的 Google 帳戶登入。
- 導覽至 API 金鑰,然後按一下產生 API 金鑰。
- 複製並安全地儲存 API 金鑰。
Operouter API 金鑰
若要取得 Operouter 的 API 金鑰:
- 前往 OpenRouter
- 使用您的帳戶登入。
- 導覽至 API 金鑰。
- 建立新的 API 金鑰。
- 複製並安全地儲存 API 金鑰。
設定和使用 Ollama
Ollama 是一個強大的本機 AI 執行階段,可在您的機器上有效率地執行語言模型。 深入瞭解 Ollama。
簡易 Ollama 設定 (macOS)
若要在 macOS 上快速設定,請從 ollama.ai 下載並執行安裝程式。 然後,開啟一個新的終端機視窗,並執行以下命令來下載 llama3.1:8b
模型:
ollama pull llama3.1:8b
安裝 Ollama
或者,您可以手動安裝 Ollama。 從 ollama.ai 下載 Ollama。 按照您的作業系統的安裝指示進行:
macOS:
從 ollama.ai 下載並執行安裝程式
Windows:
從官方網站下載並安裝二進位檔案。
執行 Ollama
在使用 CopyTranslate 搭配 Ollama 之前,請確保 Ollama 在背景執行,方法是在您的終端機中執行以下命令:
ollama serve
下載並設定翻譯模型
一個輕量且有效率的翻譯模型是 llama3.1:8b,因為它提供了良好的語言能力,而不需要過多的資源。 若要下載並設定此模型,請在另一個終端機視窗中執行以下命令:
ollama pull llama3.1:8b
如果需要更輕量的替代方案,Gemma 或 Llama 2 7B 可能可以運作,但 Mistral 通常更適合 NLP 任務,包括翻譯。
支援的語言
CopyTranslate 支援以下翻譯語言:
- English
- German
- French
- Spanish
- Portuguese
- Italian
- Dutch
- Polish
- Russian
- Japanese
- Chinese
- Bulgarian
- Czech
- Danish
- Greek
- Estonian
- Finnish
- Hungarian
- Lithuanian
- Latvian
- Romanian
- Slovak
- Slovenian
- Swedish
- Turkish
- Ukrainian
- Indonesian
- Korean
```
```
/*
Localizable.strings
*/
"Copy" = "複製";
"Paste" = "貼上";
"Translate" = "翻譯";
"Source Language" = "來源語言";
"Target Language" = "目標語言";
"Auto" = "自動";
"Settings" = "設定";
"Quit" = "結束";
"About CopyTranslate" = "關於 CopyTranslate";
"Preferences..." = "偏好設定...";
"Hide CopyTranslate" = "隱藏 CopyTranslate";
"Hide Others" = "隱藏其他";
"Show All" = "全部顯示";
"Services" = "服務";
"No text found on clipboard" = "在 clipboard 上找不到文字";
"Translation Error" = "翻譯錯誤";
"Please set up API key first" = "請先設定 API 金鑰";
"API Key" = "API 金鑰";
"Engine" = "引擎";
"OpenAI" = "OpenAI";
"Gemini" = "Gemini";
"Operouter" = "Operouter";
"Ollama" = "Ollama";
"Model" = "模型";
"API Key (Required)" = "API 金鑰 (必填)";
"API Endpoint (Optional)" = "API 端點 (選填)";
"Enter your OpenAI API key" = "輸入您的 OpenAI API 金鑰";
"Enter your Gemini API key" = "輸入您的 Gemini API 金鑰";
"Enter your Operouter API key" = "輸入您的 Operouter API 金鑰";
"Enter your Ollama model" = "輸入您的 Ollama 模型";
"More actions" = "更多操作";
"Summarize" = "總結";
"Explain" = "解釋";
"Rephrase" = "改寫";
"Generate" = "產生";
"Paraphrase" = "意譯";
"Simplify" = "簡化";
"Expand" = "擴展";
"Continue Writing" = "繼續寫作";
"Make Shorter" = "縮短";
"Make Longer" = "加長";
"Translate to" = "翻譯成";
"English" = "英文";
"Spanish" = "西班牙文";
"French" = "法文";
"German" = "德文";
"Italian" = "義大利文";
"Japanese" = "日文";
"Korean" = "韓文";
"Simplified Chinese" = "簡體中文";
"Traditional Chinese" = "繁體中文";
"Portuguese" = "葡萄牙文";
"Russian" = "俄文";
"Arabic" = "阿拉伯文";
"Privacy Policy" = "隱私權政策";
"License" = "許可證";
"Check for Updates..." = "檢查更新...";
"No Updates Available" = "沒有可用的更新";
"An error occurred while checking for updates." = "檢查更新時發生錯誤。";
"Update Available" = "有可用的更新";
"New version available!" = "有新版本可用!";
"Do you want to download it now?" = "您想要現在下載嗎?";
"Download" = "下載";
"Cancel" = "取消";
"General" = "一般";
"Appearance" = "外觀";
"Automatically translate text copied to clipboard" = "自動翻譯複製到 clipboard 的文字";
"Run at login" = "登入時執行";
"Automatically check for updates" = "自動檢查更新";
"Theme" = "主題";
"Light" = "淺色";
"Dark" = "深色";
"System" = "系統";
"Display translated text in a separate window" = "在單獨的視窗中顯示翻譯文字";
"Font Size" = "字體大小";
"Successfully copied to clipboard!" = "成功複製到 clipboard!";
"An error occurred while copying to the clipboard." = "複製到 clipboard 時發生錯誤。";
"CopyTranslate" = "CopyTranslate";
"No text available" = "沒有可用文字";
"Error" = "錯誤";
"Select Source Language" = "選擇來源語言";
"Select Target Language" = "選擇目標語言";
"Successfully translated!" = "翻譯成功!";
"There was an error during translation." = "翻譯過程中發生錯誤。";
"Show in Menu Bar" = "在選單列中顯示";
"Show Icon in Menu Bar" = "在選單列中顯示圖示";
"Show Text in Menu Bar" = "在選單列中顯示文字";
"API" = "API";
"URL" = "URL";
"CMD + C to copy" = "CMD + C 複製";
"OK" = "OK";
"Please configure the API Key" = "請設定 API 金鑰";
"AI Action" = "AI 動作";
"Input text here" = "在此輸入文字";
"Select an AI Action" = "選擇一個 AI 動作";
"Send" = "發送";
"Input Prompt" = "輸入提示";
"Enter your prompt here" = "在此輸入您的提示";
"API Key Missing" = "缺少 API 金鑰";
"Copy original text to clipboard" = "複製原始文字到 clipboard";
"Use system proxy" = "使用系統代理";
```