YNO Translate is a userscript which adds translation features to the chat system on https://ynoproject.net/.
- Automatically translate incoming messages
- Automatically translate outgoing messages
- Settings menu to configure which languages to use
To use YNO Translate you will need a userscript manager. They are browser extensions that handle installing, updating and running userscripts.
There are several userscript managers out there but I recommend Violentmonkey:
Once you have a userscript manager installed, click here to install the userscript. Click on the install button and then open up a game on https://ynoproject.net/.
Explanation of permissions
GM_xmlhttpRequest- used to request the translations@connect "translate.googleapis.com"- allows access to only the Google Translate api used to translate messages
GM_setValue- used to save settingsGM_getValue- used to load settingsGM_log- used to log debug messages to the console
- Install and then see incoming messages translated into your native language
- Click on the icon so it turns into a speech bubble and not a thought bubble to translate outgoing messages
This repo uses vite with typescript to compile the userscript js file.