Language selection?

Greetings people.

I have a doubt. I'm doing a free game project (because I have more MB of copyrights than programming within it :LZSlol:). Besides I am creating it for fun and just wanting to tell a story.

The issue here is that my game is in Spanish, since it is my mother tongue. I plan to add an option to translate it into English, and make it something more global for those who want to try it.

And I wanted to ask you for advice and guidance from the most experts on the subject, I would like to know these 2 things:

1- How can I add a language selection at the beginning of the game?.

2- Can I create the complete game in Spanish, and then at the end, take the time to translate each text into English, or should I do the language passage at the same time that I create each text?

I am very early in the development of my project, and I wanted to clarify this question before I might run into a problem in the middle of the project.
there are two different methods depending on the result and the effect. One requires to be added before any text is entered, the other requires to be done after development is complete.

The first method requires something like an external text plugin with a language selector. You need to use placeholders in every show text and database entry, and the plugin would then load the real text from an external text file to be used during game - and redirects that load to different language files.
I started to plan an advanced version for such a plugin for MZ but unfortunately real life interfered and it didn't go anywhere, but others might have done simpler external text plugins.

The second method is taking a game's data after it is completed and translating it then. This has the disadvantage that usually you end up with multiple single-language versions of your game instead of one game that can switch language, but it has the advantage that the game itself is better readable in the editor (no need for placeholder code instead of the direct sentences).

Both methods have been used for older makers in the past, but I do not know if any of the needed tools have got MZ versions yet. But you can expect them to be ported to MZ over time.

So to answer your specific questions:

1 - this usually requires a plugin following the first method of external text. In the past (up to VX Ace) it was impossible to do this with the translation tools that worked the second principle, but that may no longer be true for MV/MZ- there have been a few discussions on how to add language selection even without text replacement code for javascript-based games.

2 - as explained, both methods are possible but require different tools. You need to check tool/plugin availability BEFORE deciding which way to go.
Ok I understand.
So, more than anything if I want the initial option, I should now find a way to see how to solve it.
Or as a last option, make two copies of the game, one entirely in Spanish and the other in English.

Well, I'm going to see if I can do the first. Otherwise I always have the second as an option.

Thanks Andar for the information, it was very useful.

Original thread: https://forums.rpgmakerweb.com/threads/language-selection.130946/