AoPS Alcumus Problem Translator

Translates Alcumus problem descriptions to Chinese using free LLM.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Dakai Ou
日安装量
0
总安装量
0
评分
0 0 0
版本
0.4
创建于
2025-11-26
更新于
2025-11-26
大小
13.3 KB
许可证
MIT
适用于

This userscript enhances the Art of Problem Solving (AoPS) Alcumus experience by adding a button that translates problem descriptions into Simplified Chinese, while preserving LaTeX formatting for mathematical notation.

Key features:

  • Translation: Translates the Alcumus problem text (including ALT text from images) to Simplified Chinese using the Gemini API (optional, requires API key) or the OpenRouter API.
  • LaTeX Rendering: Renders LaTeX mathematical notation within the translated text using MathJax, providing properly formatted equations and symbols.
  • OpenRouter Fallback: If the Gemini API service is temporarily unavailable due to overload, the script automatically fails over to provide translation using the models from OpenRouter.
  • API Key Required: To provide full functionality of the script, OpenRouter API Key is required.
  • Easy to Use: Adds a "Translate to Chinese" button directly on the Alcumus problem page.
  • Accurate: Leverages powerful translation and LaTeX rendering libraries for high-quality results. Improves learning and problem-solving accessibility for Chinese-speaking users.

To Use:

  1. Install the userscript via Tampermonkey or another userscript manager.
  2. Important: Provide your OpenRouter API Key in the userscript source code. It can optionally make use of your Google Gemini API Key if available and desired.
  3. Visit an AoPS Alcumus problem page to see the translation button.