Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Baidu translation support #768

Merged
merged 4 commits into from
Aug 27, 2023
Merged

Added Baidu translation support #768

merged 4 commits into from
Aug 27, 2023

Conversation

end-candle
Copy link
Contributor

@end-candle end-candle commented May 19, 2022

Added Baidu translation support
New configuration to support Baidu Translation.
`
// Baidu Translation APPID
"i18n-ally.translate.baidu.appid": "",

// Baidu Translation Secret
"i18n-ally.translate.baidu.apiSecret": ""
`

Copy link

@csic21 csic21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@terales terales merged commit fd4af07 into lokalise:main Aug 27, 2023
3 checks passed
huacnlee pushed a commit to huacnlee/i18n-ally that referenced this pull request Aug 28, 2023
* feat: Added Baidu translation support

* fix: Baidu translation results are not displayed correctly

* Fix merge error in Turkish translation

---------

Co-authored-by: Alex Terehov <terales@users.noreply.github.com>
@qianjujie
Copy link

qianjujie commented Oct 23, 2023

百度的请求参数 语言code 和谷歌会有不同,导致翻译报错:58001 | 译文语言方向不支持 | 检查译文语言是否在语言列表里,
百度翻译的to参数如下图,需要提供一个百度的convert,完整的语言列表需要看百度的文档

iShot_2023-10-23_18 11 36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants