Skip to content

jackssrt/yno-translate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YNO Translate

YNO Translate is a userscript which adds translation features to the chat system on https://ynoproject.net/.

Features

  • Automatically translate incoming messages
  • Automatically translate outgoing messages
  • Settings menu to configure which languages to use

Installation

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 settings
  • GM_getValue - used to load settings
  • GM_log - used to log debug messages to the console

Usage

  • 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

Development

This repo uses vite with typescript to compile the userscript js file.

About

YNO userscript to translate messages.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors