tisfeng / Easydict

一个简洁优雅的词典翻译 macOS App。开箱即用,支持离线 OCR 识别,支持有道词典,🍎 苹果系统词典,🍎 苹果系统翻译,OpenAI,Gemini,DeepL,Google,Bing,腾讯,百度,阿里,小牛,彩云和火山翻译。A concise and elegant Dictionary and Translator macOS App for looking up words and translating text.
GNU General Public License v3.0
6.38k stars 324 forks source link

Translating to Brazilian Portuguese #569

Open rmoncks opened 1 month ago

rmoncks commented 1 month ago

Please confirm the following:

Feature description

Hi! Thanks for this awesome tool, I love it. The only thing it would be great for me is that, when selecting the language, I could opt to translate the text to Brazilian Portuguese (which is supported in DeepL and Google Translate, for example). As for now, I can only select Pt-Pt (Portuguese from Portugal), not Pt-Br, which are very different, meaning that I use the tool only as a shortcut to the DeepL page, for example. I don't need EasyDict to be localized to Pt-Br, I would only like to select it as a target language for my translations. Is that possible?

Sorry if this is not the best place to ask this question - I haven't found this request elsewhere.

Thanks!

Use case

When translating texts from English to Brazilian Portuguese, for example. The Pt-Pt option is not adequate for Pt-Br.

Proposed solution (optional)

No response

Are you willing to submit a PR to implement this feature

github-actions[bot] commented 1 month ago

Hello rmoncks, Thank you for your first issue contribution 🎉

tisfeng commented 1 month ago

I see, I briefly checked and DeepL and Bing do support Brazilian Portuguese, but Google does not.

It is not difficult for Easydict to support a new translation language, Brazilian Portuguese, we can try it later.

For LLM services, such as OpenAI Translate, it should be possible to support Brazilian Portuguese.

tisfeng commented 1 month ago

@NeverAgain11 hi, do you have time to do this?

NeverAgain11 commented 4 weeks ago

@tisfeng OK, I'll do it.