That's the Idea behind the whole "Make your Game" and extract everything, when you want to start with your translating stuff. 😉
Language File System
RGSS3 Scripts (RMVX Ace)Hi,
So, now, everything's working, but the Event Choice Command. I extracted all, all my message + the scroll text work, but
not the choices, and I don't know why.
I copy and paste the containt from the demo into my project, I just change the small <<eng>> by <<Choice1>> in the dialoguesFrench and DialoguesEnglish.rvtext because it's easier to rember which is what.
Of couse I changed this in my event choice command, but it displays not the containt (as in the demo), but juste Choice1 and Choice2, so it's stupid !
I hope you have a solution, or maybe I can use a script call for the command choice ? Because thoses script calls work for the message and scroll texts.
Thanks guy,
EDIT : It was an other script which modified the choice options !
I have a question (still I know 😛 ), how can you translate custom script ? For exemple, my custom item menu or something like this.
Thanks
So, now, everything's working, but the Event Choice Command. I extracted all, all my message + the scroll text work, but
not the choices, and I don't know why.
I copy and paste the containt from the demo into my project, I just change the small <<eng>> by <<Choice1>> in the dialoguesFrench and DialoguesEnglish.rvtext because it's easier to rember which is what.
Of couse I changed this in my event choice command, but it displays not the containt (as in the demo), but juste Choice1 and Choice2, so it's stupid !
I hope you have a solution, or maybe I can use a script call for the command choice ? Because thoses script calls work for the message and scroll texts.
Thanks guy,
EDIT : It was an other script which modified the choice options !
I have a question (still I know 😛 ), how can you translate custom script ? For exemple, my custom item menu or something like this.
Thanks
DerTraveler is working on an option for translatin customscripts, too.
Though, it'll take a couple of time. In the meanwhile better work on the Game and translate the custom scripts later on. 🙂
Though, it'll take a couple of time. In the meanwhile better work on the Game and translate the custom scripts later on. 🙂
Ok, really good to know, because it's the only default, now !
That's what I'm going to do, thanks
EDIT :
I have one more question : How do I update my dialogue files ? I extracted one time all the data and I translated, and now, I keep working
on my project and I want to add this to the files. So, I use again the command to extract all data, but it destroys the first one... My choices
don't display, and some dialogues are bugged.
Thanks
EDIT 2 : I made it manually, once you get the way, just to copy past and change some number and face, not so long.
That's what I'm going to do, thanks
EDIT :
I have one more question : How do I update my dialogue files ? I extracted one time all the data and I translated, and now, I keep working
on my project and I want to add this to the files. So, I use again the command to extract all data, but it destroys the first one... My choices
don't display, and some dialogues are bugged.
Thanks
EDIT 2 : I made it manually, once you get the way, just to copy past and change some number and face, not so long.
Hi,
I'm back with a new question 😉
I want to export my game, so I use this command LanguageFileSystem::encrypt
Then, I make a backupof my .rvtext files in an other folder. I set enable_encryption on true and I test to see if everything is correct.
So, if I choose English, everything's working, but not for french. My screen title is in french, but all dialogues and entries in
database are still in English ! I checked my game.ini and language is set on french, my default language is french too.
So, I don't understand why.. I you have an answer, it'd be awesome !
All the rest is working really good, now
I'm back with a new question 😉
I want to export my game, so I use this command LanguageFileSystem::encrypt
Then, I make a backupof my .rvtext files in an other folder. I set enable_encryption on true and I test to see if everything is correct.
So, if I choose English, everything's working, but not for french. My screen title is in french, but all dialogues and entries in
database are still in English ! I checked my game.ini and language is set on french, my default language is french too.
So, I don't understand why.. I you have an answer, it'd be awesome !
All the rest is working really good, now
Sorry at the moment I'm quite busy with my regular work here, but I will look into the issues...
Upcoming features would be:
Upcoming features would be:
- Translating custom scripts
- Adding support for incremental text extraction (should not be too difficult, just ignore all texts that already include \dialogue-tags.
- Looking into the multilanguage encryption bug (which is quite strange)
No problem, you already do amazing work 😉
I'm still working on my project, there is no huge issues, so it's really not a big deal.
I'm still working on my project, there is no huge issues, so it's really not a big deal.
Little up, just to have some news.
@DerTraveler
Buddy, you're stil alive? ^^
Didn't hear from you in a long time! ^^
Alter schwede, meld' dich mal! ^^
Buddy, you're stil alive? ^^
Didn't hear from you in a long time! ^^
Alter schwede, meld' dich mal! ^^
I'm still alive 🙂 But very busy at the moment. But it will be a little bit better at the end of this Month, then I can start working on all the requests 🙂
Happy new Year everybody by the way!
Happy new Year everybody by the way!
Hey good to hear from you again. 🙂
Happy new year! You're stil in japan? ^^
Happy new year! You're stil in japan? ^^
Really like this script, mailed you dear Traveler buddy 🙂
I'm new to rpgmaker and ruby...
When I try to use this script in a japaneese rpg game it gave me a error in line 1359
"result = LanguageFileSystem::database[sUBCLASS_KEYS[self.class]][var.to_sym]"
It says "Type Error... Cannot convert symbol into integer..."
if there is a way to correct this please let me know
When I try to use this script in a japaneese rpg game it gave me a error in line 1359
"result = LanguageFileSystem::database[sUBCLASS_KEYS[self.class]][var.to_sym]"
It says "Type Error... Cannot convert symbol into integer..."
if there is a way to correct this please let me know
Okay, now that I have some more time, let's tackle some of the requests... proceeding chronologically...
So you have setup everything properly. That means you have 4 files "DatabaseTextFrench.rvtext", "DatabaseTextEnglish.rvtext", "DialoguesEnglish.rvtext" and "DialoguesFrench.rvtext" containing the correct texts for both languages in your game directory.
Using these 4 files without the encryption option, everything works fine - even switching languages in-game.
But when you encrypt the files and play again with the Encryption enabled and try to change languages ingame, in that case it suddenly doesn't work anymore?
What kind of language files are you using? Have you written them yourself? Or are they extracted? I fear I need some more details....
To see if I understand you correctly.
So you have setup everything properly. That means you have 4 files "DatabaseTextFrench.rvtext", "DatabaseTextEnglish.rvtext", "DialoguesEnglish.rvtext" and "DialoguesFrench.rvtext" containing the correct texts for both languages in your game directory.
Using these 4 files without the encryption option, everything works fine - even switching languages in-game.
But when you encrypt the files and play again with the Encryption enabled and try to change languages ingame, in that case it suddenly doesn't work anymore?
When exactly is it giving you that error? Directly when starting the game? This is really strange, since this is a part of the script that is not dependent on the particular game...
What kind of language files are you using? Have you written them yourself? Or are they extracted? I fear I need some more details....
Is it even possible to change from japanese characters to west? I'm no programmer, but my gues is, when you try it, you also need a new font.
Or did prasadmadanayake only uses a japanese copy of rpgmaker vxa and uses west fonts?
Or did prasadmadanayake only uses a japanese copy of rpgmaker vxa and uses west fonts?
It is definitely possible. The game I made here in Osaka was translated from English to Japanese and it works without any problems.
But, indeed, perhaps the problem is, that the game was made with the Japanese RPG Maker (which is most probably the case) and perhaps the Class or variable names are different in that version... But that would make absolutely no sense from a programmer's perspective...
But, indeed, perhaps the problem is, that the game was made with the Japanese RPG Maker (which is most probably the case) and perhaps the Class or variable names are different in that version... But that would make absolutely no sense from a programmer's perspective...
Well most japanese developers aren't that standard.
Maybe someone can clarify if this is true?
@DerTRaveler Have you looked into the translation topic we talked about for translating other vocab in scripts? ^.^
Maybe someone can clarify if this is true?
@DerTRaveler Have you looked into the translation topic we talked about for translating other vocab in scripts? ^.^
@Ewaldar: Just ignore my last post. I found the mistake. There was a bug in the encryption, which caused only one language file to be encrypted (and sometimes even with the wrong contents). I will soon post an update that will fix everything.
@Marcio: That will be the next point I'm looking into. 😉
@Marcio: That will be the next point I'm looking into. 😉
I got an error similar to prasadmadanayake's error regarding line 1359, while playing around with a game created by some japanese developer. Here the line in question:
result = LanguageFileSystem::database[SUBCLASS_KEYS[self.class]][var.to_sym]Not just a conversion error though, but a NoMethodError. Which seems even stranger to me. See attachement.
And as you assumed for prasadmadanayake's error, the error is raised directly upon starting the game.
May I ask what the class RPG::BaseItem is for, though? Deleting the whole class (or even just commenting out the line in question) avoids the error message. Furthermore, the extraction of dialogue and database text still works fine.
Which, however, leads me to another issue. While it also works perfectly fine to edit the Dialogues.rvtext file and have the ingame script calls retrieve the data, it does not work for the DatabaseText.rvtext and database.
At first I thought it had to do with the above issue. But then I created a new, perfectly clean project and tested the script. Extraction works fine (without error, obviously), but then I get the same issue with the DatabaseText.rvtext. Is it even supposed to work? Editing the database via the DatabaseText.rvtext, that is?
Regards,
Mekos

result = LanguageFileSystem::database[SUBCLASS_KEYS[self.class]][var.to_sym]Not just a conversion error though, but a NoMethodError. Which seems even stranger to me. See attachement.
And as you assumed for prasadmadanayake's error, the error is raised directly upon starting the game.
May I ask what the class RPG::BaseItem is for, though? Deleting the whole class (or even just commenting out the line in question) avoids the error message. Furthermore, the extraction of dialogue and database text still works fine.
Which, however, leads me to another issue. While it also works perfectly fine to edit the Dialogues.rvtext file and have the ingame script calls retrieve the data, it does not work for the DatabaseText.rvtext and database.
At first I thought it had to do with the above issue. But then I created a new, perfectly clean project and tested the script. Extraction works fine (without error, obviously), but then I get the same issue with the DatabaseText.rvtext. Is it even supposed to work? Editing the database via the DatabaseText.rvtext, that is?
Regards,
Mekos

Hi DerTraveler,
I've got the error that in line 738 an ArgumentError occurred.
The Languagefiles have the same name like yours from the demo.
I use the 1.2 Version of the Core-Script.
The error:
http://www.directupload.net/file/d/3535/9p8wgi9p_jpg.htm
I hope you can help me.
Warliet
I've got the error that in line 738 an ArgumentError occurred.
The Languagefiles have the same name like yours from the demo.
I use the 1.2 Version of the Core-Script.
The error:
http://www.directupload.net/file/d/3535/9p8wgi9p_jpg.htm
I hope you can help me.
Warliet
Original thread: https://forums.rpgmakerweb.com/threads/language-file-system.17964/