Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
xnx3
/
translate
Public
Notifications
You must be signed in to change notification settings
Fork
481
Star
3.1k
Code
Issues
44
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Releases
v2.10.0
v2.10.0
Compare
Choose a tag to compare
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
Uh oh!
There was an error while loading.
Please reload this page
.
No results found
xnx3
released this
14 Dec 06:58
·
1101 commits
to master since this release
v2.10.0
d111df7
增加元素整体翻译能力,增加 translate.whole 用于对整体翻译的控制,提高翻译准确度及对其他语种设置为本地语种的支持。
从 translate.addNodeToQueue () 中抽离出 translate.addNodeQueueItem () ,用于元素整体翻译提供服务
translate.nodeQueue 遍历时,增加类型为 function 判断,避免 hash 冒出个 Contains 出来导致 for 中的.length 出错
翻译接口的自助管理后台增加对网站当天的详细翻译日志的下载,可以查看当天有过哪些次翻译、翻译字符多少、翻译为什么语种等详细情况。
翻译接口的每日翻译文字上限优化,如果通过自助翻译后台录入的网站,每日翻译字符上限有五百万字符扩展到两千万字符(当然这全都是免费的)
删除翻译后端的 generateCache 目录
translate.service 增加 translate.json 翻译日志的 referer 收集,以方便再自助管理后台进行对自己网站的翻译记录日志的下载
translate.service 的 TranslateInterface 接口增加 response 的传入,以便在扩展中对响应进行自定义
公共翻译接口 api.translate.zvo.cn 对翻译接口 translate.json 的 response 响应,增加了当前站点域名日翻译字符数的返回
优化线上公共翻译服务的翻译字数统计方式,有 redis 接管,并统计最近七天的翻译字数记录
优化 translate.service 的 sql 特殊字符过滤
You can’t perform that action at this time.