Options for translation?

Since I'm locked away in my home, I was thinking about getting serious with this and finally release something, but there is a small issue...
My main language is Spanish and that how I develop the game, but obviously I should release an English version for a wider audience, so I was wondering if there is some tool to extract the text and insert it back into the game? I dread the idea of going around translating line by line, event by event.
send every line to a plugin module.

"Hello, I'm the shopkeeper, how can I help you" can be called from the event as "DLG::Shop_intro_generic"

you'll have to adapt the show text block to read those lines, but I'm sure there are plugins for that.
there are two different principles to do this, depending on what you want:
multiple single-language games or one multi-language-game.

In the first case you make your game in one language, then copy and and translate it. You don't have to do this by going through every event command, you can do this by editing the json files.
But it is a lot of work to do it that way, and you need to be very careful not to break the json files in the text editor.

The second case is usually done by installing a plugin that replaces all text. you simply use a "key" in the text and have the plugin replace that key with the true text in whatever language the game is currently set to. That is what is described by the poster above.
The problem with the second case is that this will require using keys instead of text for every text line in the game, which means that is only easy if you install the plugin at the beginning of the development process. There are several such plugins to choose between, for example Iavra Localization.

Original thread: https://forums.rpgmakerweb.com/threads/options-for-translation.119926/