Hello everyone, I wanted to share
this plugin with you all. I called it KRAV_Dialog.
What does it do? It loads textfile lines as string variable in the game: I'm using it to creating multilanguage games writing game dialogues as txt files.
The configuration is pretty simple, you will need two variables to set:
One that will have never to be set in the game (default 4952)
And one that you will use to set your language (default 4951)
Here are language values for v4951: 0 = eng ; 1 = ita ; 2 = russian ; 3 = span ; 5 = fr
How does it work?
You will have to put your txt files in data/
lang/
the lang directory will be "eng"\"ita"\"russian"\etc , it depends on the second variable value.
You could use with plugin commands:
"testo X file.txt" - where X is the line number to load.
"testo_intero file.txt" - this will load the whole txt file content.
Actually, to make it fit the dialog box, I'm using it with YanflyMessageCore and MessageExtPack1 for the <WordWrap> feature and a typical use looks like that:
Spoiler
In the given example the plugin is reading the line 1 on the file located in
data/eng/WorldOfGods/ECH1.txt
Most of you will say "what could ever be the utility of this plugin?"
Well, if you work in a team and you need to translate your game, I think it's better share txt files than the whole project.

Hope you will like it.
本贴来自国际rpgmaker官方论坛作者:KravenarGames处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/multilanguage-enabled-you-can-create-multilanguage-games-with-this.89351/