v3.8.0

xnx3/translatev3.8.0Aug 28, 2024by xnx3

AI Summary

Expands enterprise network nodes to US and Hong Kong, optimizes Traditional Chinese recognition, and fixes character encoding issues in the API.

Key Highlights

  • Added enterprise network nodes in Hong Kong and US.
  • Automatic failover to US cluster (default) from Beijing.
  • Added option to display all translation results in lowercase.
  • Fixed `StringUtil.urlToString` for artistic characters.

New Features

  • US and HK enterprise network nodes.
  • Lowercase translation display option.
  • Traditional Chinese recognition optimization.
  • API string conversion fix for special characters.

Full Release Notes

1. translate.js 增加对翻译结果全部转小写显示的能力,以避免大小写混合感觉有些乱。(此能力只限使用 translate.service 翻译通道才有效)
2. translate.js 企业版增加两个网络节点,分别位于香港、美国。
3. translate.js 优化繁体字的识别精度
4. translate.service 企业级翻译通道增加美国集群主机
5. translate.service 企业级翻译通道部署架构优化,有原本的国内北京集群,转为默认使用美国的集群提供服务,而国内北京集群提供备用,出现异常情况时自动触发进行主备切换,充分保障翻译通道的稳定。
6. translate.service 企业级翻译通道集群的SLB后端节点自动化测速优化,有原本的线程、定时任务 外,又增加一层健康检查,充分保障SLB后端每个节点的实时测速接入集群。
7. translate.api 修复 StringUtil.urlToString 如果这个字符串本身是特殊字符或者艺术字等,转换出来的字符串是乱码形态的问题,从而导致网页中会有某个艺术字的区域不翻译的问题。
8. translate.api 重写hash算法,以提供更快的计算性能
9. translate.api 优化识别处理机制,使大网页的字符识别速度更快