AoPS Alcumus Problem Translator

Translates Alcumus problem descriptions to Chinese using free LLM.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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.