Completely ignore that zlib - that is just an internal file format name. You need to start at the beginning, not at an error message.
And the beginning is the external text file - all show text sequences of your game need a placeholder (called key), and the external text file lists all those keys and give the text that should replace that placeholder in the game.
That is the reason why that script will not function unless you wrote the file that contains both the placeholder-keys and the real text that should be displayed at that point in the game.
The translation part comes later, because then you just provide different text files for different languages.
But that external text file for the first language - that is what you have to write before anything can function, and you are the one who has to decide how the placeholder keys are named and what they replace ingame.
So I have to start with external-text.rb first? right? Then I add a file to the folder Text in the folder Data, called DE.txt (the dame doesn t matter right? but then I don t know what to do next.
Yes, the name doesn't matter. Next, you write some text in it to test it:
[Key] TextTest1Message text testing using External Text :3Then, in an event, you use a Script command with the following in it:
text('TextTest1')Interact with the event. It should display the message. <3
What version are you using?
But when did you grab it? It was recently updated with a fix to that bug. Are you using 3.3.4?
IT WORKS. 😀
OK Step one is done 😛
So whats the next thing to continue with?
Hm I tried to use it but I don t know how to use the
`Language Select`I mean it only tells me like to change the language use this. Thats all. T_T
I added a second language into the array now it looks like this.
#++module SES # ExternalText # =========================================================================== # Module containing configuration information for the External Text script. module ExternalText # Array of languages present in the game. Languages = ["English"] Languages = ["Deutsch"] endendHe always tells me like "Unable to find file SceneManager.call(Scene_LanguageSelect)"Also if I change it. It still keep telling me that the file doesn't exsite.
Edit: But it still works. I just added an other event asking if German or English and then it stops working. The other event still gets the messages
Languages = ["English", "Deutsch"]Well you see what I mean. There is not a single example how to add a second language. He/She only writes that you can add multiple languages by adding it to the array. But I didn t know anything about the scripting in RPG Maker VX Ace so I just did what you saw, because I thought that was how to do it.
Hope you can also tell me to finally set the language like you get asked what language you want to use so you can choose. I mean I m using it but it s just the thing with the if Var equal 1 then Dialoge in english etc.
To select the language, you make an event, in the event you use a script command, and in the script command you place the following:
SceneManager.call(Scene_LanguageSelect)As soon as that event is triggered, the selection screen will appear.However, inside your language text file (the one you made above) you'll need a key Language Select that gives the text that should appear on the language select screen telling the player what he has to do.
That would result in "Please select your Language" on the englisch text file and "Bitte wähle die Sprache aus" in the german text file (for example)
Ok it workes but I need something like I do. Currently I m using a select to set my variable so I can do some stuff.
So is there a way to just set language to English/German and what is this used for?
`Language Select`Edit:
I tried some more stuff to set the language without getting a select screen because I just need to set the language once in the game but I still didn t got any cleverer from that. I now just know some more ways how it doesn t work. XD
Does someone know how to just set the language?
Guys? I m really stuck with the RPG. TwT
Currently I tried a lot of diffrent possible commands. I also checked again what s writen in the scripts to maybe get the command, so I tried some of them without any success.
Wouldn t it be something like
set_language(English)or something similar. Maybe I missed something and I would really love if someone could help me with my struggle.
I currently just need to define the language. After I this I can start with the next step. 😀
So please if someone could help me with this.
Ok I finally got it. I asked Enelvon how to do it and now I got it.
What is the next step please. I can't wait to get further threw this. 😀
The next step is to make your game in the primary language, using external text keys for every text ingame.
Then, after you're finished with your game, you translate a copy of the external text file into any language you want and add that new text file to the project directory (same place as the oroiginal file)
If it s no problem for you I will skip that step. I will work on that later because I m happy with the way I do it now.
Currently I still use the variable language to check if it s english or german then I add 1 event and add all the text forst in german there and then I copy and paste the event and translate it. That works find and I guess it will be very hard to add all the text to the files and also to don't get lost in all that amount of lines inside the files.
So please don't get it the wrong way. I will still use the first example <3SOURCE<3 game me to get more into it and I also understand how it worked.
Ok what would be the next step after add all the text to the external files?
Well I will only translate it to german and english. And I don't get lost with my system of translation. I m not 100% sure if I wrote it or not but I really just need the External Text scripts for stuff like the menu, the items, the maps or something similar.
So can we please skip the part of I put everything into the external files to translate it in german and english?