I wish everyone a good day. I am using RPGMMZ. I found a plugin. Its name is ''ODW Multi-language''. I never understood how it is used and its logic. My main language is Turkish. Rather than translating Turkish to English. Because it is easier to translate English to Turkish. I made my game in English and now I want to add language support to Turkish. On the plugin's own site, more emphasis is placed on the main menu. At least that's how I saw it and I couldn't understand it because my language was not enough. On the other hand, I will leave the main menu in English as it is, the weapons, items and so on are the same. I just want to translate the character dialogues but I don't understand how to do it. I would be glad if you help me in this regard.
How can I add another language option to the game I'm making?
RPG Maker MZ Supportwe can't tell you how a specific translation tool works if you don't give us a link to it.
That said, there are several different ways to handle this
some tools require placeholders to be used in the game, and replace them with the texts from the selected language that are stored externally. These usually need to be used from the beginning, before anything is put into the game.
other tools extract the text from the finished game, requiring translation afterwards, and then replace the text inside the game. This often results in multiple one-language games instead of one multilanguage one.
and there are variants of both methods in other tools.
That said, there are several different ways to handle this
some tools require placeholders to be used in the game, and replace them with the texts from the selected language that are stored externally. These usually need to be used from the beginning, before anything is put into the game.
other tools extract the text from the finished game, requiring translation afterwards, and then replace the text inside the game. This often results in multiple one-language games instead of one multilanguage one.
and there are variants of both methods in other tools.
ODW - Multi-Language System Plugin
Multi-Language System Plugin v1.1.0 by Open Digital World Introduction This plugin lets you translate game texts to suit your needs. Texts are simply written in JSON files, grouped in language-specific folders. It is also possible to configure fonts specifically for each language. The active...
forums.rpgmakerweb.com
Here I downloaded this plguin. But there is a problem. I finished the game so can I add language support to a finished project or how can I add?
AFAIK You can add it after it’s finished yes but it basically involves copying ALL YOUR TEXTS out of rmmz, and replace them with text codes.
If you want to do it manually, it’s pretty rough for any game with heavy dialogue…
If I were in your shoes, I would look into automation of the “text extraction and replacing with text codes” part… The mere thought of doing this manually… urgh
If you want to do it manually, it’s pretty rough for any game with heavy dialogue…
If I were in your shoes, I would look into automation of the “text extraction and replacing with text codes” part… The mere thought of doing this manually… urgh
I actually prefer the longer but easier part. But here's the thing, I don't know how to do it. If I could learn the logic and how it works. In other words, if I manage to translate even a short dialogue, it will be enough for me. At least I can do it by spending time, but right now I can't make any progress because I don't know. 🙁
@Lzzy
Basically, you'll need to replace ALL your in game text with a 'placeholder' text for this plugin. For example:
In the game, you want the character to say:
Hello, my name is Harold.
But now, instead of writing that text in the text box, you must decide on a placeholder name for it.
In this situation, let's use the name HaroldDialog01
So in the textbox that is supposed to show "Hello, my name is Harold" you write:
${HaroldDialog01}
Now, you need to make a json file in the correct Languages folder as per the plugin. You can make them in notepad for example.
the structure of a json file is
You can add as many entries you need by adding a comma and going to the next line, ALL the items should be inside the { } brackets.
And each item should be between " " symbols.
The : symbol just means =, so for example in this case it just means HaroldDialog01 = Hello, my name is Harold.
So, eventhough you typed ${HaroldDialog01} in the textbox, it will show up as Hello, my name is Harold. in the game.
These files will tell the program what words to replace the Placeholder text with.
So in the EN file, HaroldDialog01 you will have to write Hello, my name is Harold in the right half
But in the Turkish file, HaroldDialog01 will have to write the turkish version of that in the right half
Example
EN.json
Turkish.json
Basically, you'll need to replace ALL your in game text with a 'placeholder' text for this plugin. For example:
In the game, you want the character to say:
Hello, my name is Harold.
But now, instead of writing that text in the text box, you must decide on a placeholder name for it.
In this situation, let's use the name HaroldDialog01
So in the textbox that is supposed to show "Hello, my name is Harold" you write:
${HaroldDialog01}
Now, you need to make a json file in the correct Languages folder as per the plugin. You can make them in notepad for example.
the structure of a json file is
Code:
{
"HaroldDialog01" : "Hello, my name is Harold.",
"PlaceHolderName1" : "The text that is supposed to be shown1",
"xxxxxxx" : "xxxxxxx"
}
You can add as many entries you need by adding a comma and going to the next line, ALL the items should be inside the { } brackets.
And each item should be between " " symbols.
The : symbol just means =, so for example in this case it just means HaroldDialog01 = Hello, my name is Harold.
So, eventhough you typed ${HaroldDialog01} in the textbox, it will show up as Hello, my name is Harold. in the game.
These files will tell the program what words to replace the Placeholder text with.
So in the EN file, HaroldDialog01 you will have to write Hello, my name is Harold in the right half
But in the Turkish file, HaroldDialog01 will have to write the turkish version of that in the right half
Example
EN.json
Code:
{
"HaroldDialog01" : "Hello, my name is Harold.",
"PlaceHolderName1" : "The text that is supposed to be shown1",
"xxxxxxx" : "xxxxxxx"
}
Turkish.json
Code:
{
"HaroldDialog01" : "Turkish Harold Dialog.",
"PlaceHolderName1" : "Turkish Dialog",
"xxxxxxx" : "xxxxxxx"
}
So is there a problem if I simply do it like this? For example If I want to do it this way without dealing with the plugin. Will this way give me trouble?
@Lzzy This wont be a problem for a short or minimum dialog games, and of course in this way you cannot translate anything in systems and skills either.
But if you are doing a longer game or a game with a lot of dialog and text, I suggest you learn how to work with these language plugins because it will save you a lot of time and lessen bugs.
But if you are doing a longer game or a game with a lot of dialog and text, I suggest you learn how to work with these language plugins because it will save you a lot of time and lessen bugs.
Like this? And there is one more thing I want to ask. Should the dialogues in the game be as in the image? ''Hello, I am Herold'' or {''$Hello, I am Herold''} should i write ?
@Lzzy
That would work if you want to translate the Name Box text yes, since you put it in the name box space. It won't change the text in the dialog part.
The format for this plugin is ${xxxxx}
You replace the xxxxx with the name of the placeholder, example:
If you want the placeholder Harold01 to say Hello, I am Harold
Then when you type it in the engine, it should be ${Harold01}
So any time you write ${Harold01} in the engine, when you play the game it should replace the text with Hello, I am Harold (or any of the equivalent languages using the same placeholder name inside the completely seperate JSON files)
That would work if you want to translate the Name Box text yes, since you put it in the name box space. It won't change the text in the dialog part.
The format for this plugin is ${xxxxx}
You replace the xxxxx with the name of the placeholder, example:
If you want the placeholder Harold01 to say Hello, I am Harold
Then when you type it in the engine, it should be ${Harold01}
So any time you write ${Harold01} in the engine, when you play the game it should replace the text with Hello, I am Harold (or any of the equivalent languages using the same placeholder name inside the completely seperate JSON files)
Thank you so much sir. I will try.
Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-add-another-language-option-to-the-game-im-making.159716/