1) Go to: chrome://flags/#translation-api and enable "Experimental translation API"

2) Navigate to here

3) Click “from en to es” and “from en to ja” under canTranslate()

Please wait as language models and translation components are downloaded in the background

4) Go to: chrome://components and look for TranslateKit components to monitor progress

5) Translation API is now ready to translate English ⇔ Spanish and English ⇔ Japanese

6) Go to chrome://on-device-translation-internals/ to install all other needed pairs

Since the API is build into your browser, TypeSwitch can work offline



Enter Your Text:
0/1000


TypeSwitch was created for the Google Chrome Built-in AI Challenge

TypeSwitch is made solely with Translation API

My goal with TypeSwitch was to create a language learning tool focused on writing—specifically, typing

While many language learning apps excel at teaching individual words, a crucial aspect of mastering any new language is understanding context

With TypeSwitch, you can practice entire sentences, providing a more realistic approach compared to word-only exercises, better mimicking real-world reading and conversation

There's much more in the works beyond what I developed for this hackathon. Feel free to visit my GitHub

Created by

Eric Rodriguez's Logo