DEV Community

Cover image for Store English Words while you're surfing on a WebBrowser with MateTranslate and Javascript
Ariel Reyes
Ariel Reyes

Posted on

1 1

Store English Words while you're surfing on a WebBrowser with MateTranslate and Javascript

When I am reading often we track all words that we don't know but when we consume many content, could be great have a tool to help us do this job instead.

So with this Idea I reuse an extension called Mate Translate so, to have this feature in the app you need to pay. For that reason we could make our own implementation of that.

Get the components:
Creating the components

Defining validations:
defining validations

Also =>
more

Obtaining the dictionary:
get the dic

Creating the service:
creating the service

Running the service:

Copy the code from here: https://github.com/irrefl/WordsStoringWithMateTranslateAndJavascript/blob/main/WordsCollector.js
Enter fullscreen mode Exit fullscreen mode

and paste it into the web console pressing F12:
press f12

The Result:
alt text

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay