Translate English on the typst.app into other languages.
Currently, the only way to use it is to manually download the source file from GitHub. Please go to https://raw.githubusercontent.com/yourouchour/Typst-Automatic-Translation/main/typst-automatic-translation.user.js for the script.
For information on how to work with the script (install, use, update), see https://www.tampermonkey.net.
0.1.0: The first version was released, covering most of the buttons and included support for Chinese, Russian, German, French, Spanish, Japanese (currently machine translation).
2025-8-14: Now the first time you use the program, the original English text will be displayed directly. If you see the Language button appear on the header, it means that you have successfully loaded it
- increase the number of entries;
Added support for switching other languages;- Stop monitoring while editing text until you finish editing;
- Lower uptime and storage.
prettier(for file formatting)
Add pre-commit Git hook after cloning this repository:
cat << EOF > .git/hooks/pre-commit
#!/bin/sh
if ! prettier -c .; then
prettier -w .
echo "Files were re-formatted. Please commit these changes." >&2
false
fi
EOF
chmod +x .git/hooks/pre-commitFormatting is done with prettier:
prettier -w .