Magusalfador

AKA VaroClaw
Veteran
Joined
Jun 15, 2014
Messages
256
Reaction score
43
First Language
English Spanish
Primarily Uses
RMMV
Hi all! Im using http://sumrndm.site/translation-engine/ plug in.

This plugin allows you to go to the menu and change the language of your game. My question is, can someone help me into figuring out how to change the language via an event? The plug in states that I should be able to do it by the following plugin command: SetTranslation LANGUAGE. (Language = name of language)


But it doesn't work, I visited SRD website and people say it doesn´t work either, so Im assuming something is missing?

What Im trying to accomplish here is to run the event BEFORE the title and choose a language, then the game will start with the language chosen.

Anyway, I hope you can help me.
 
Last edited:

NeoFantasy

Building Worlds
Veteran
Joined
Jul 19, 2014
Messages
2,168
Reaction score
1,137
First Language
English
Primarily Uses
RMVXA
I don’t know if this helps as I’ve never used this plugin, but going off of what I know in general does it tell you where to put the command? In an event’s comment box , through a script input in the event tab etc? It could be you’re placing it in the wrong place.
 

Magusalfador

AKA VaroClaw
Veteran
Joined
Jun 15, 2014
Messages
256
Reaction score
43
First Language
English Spanish
Primarily Uses
RMMV
Hi! Yeah, it says :
In order to force the game to use a specific language, the following
plugin command must be invoked in an event.

But it does not work. I´ve tried SetTranslation English and SetTranslation "English".

Now, that plug in command might not even be what im looking for, that plug in command might only force the language for that event. What I need is something that changes the current language on the menu.

What Im trying to accomplish here is to run the event BEFORE the title and choose a language, then the game will start with the language chosen.
 

NeoFantasy

Building Worlds
Veteran
Joined
Jul 19, 2014
Messages
2,168
Reaction score
1,137
First Language
English
Primarily Uses
RMVXA
You may need a separate plugin to run the event before the title then. (I’m unsure as to whether or not Mv supports that as a feature)

If others say it doesn’t work than it is likely an issue with the plugin that needs to be resolved by the developer.
 

Magusalfador

AKA VaroClaw
Veteran
Joined
Jun 15, 2014
Messages
256
Reaction score
43
First Language
English Spanish
Primarily Uses
RMMV
Yeah, I already got the plug in that plays event before title now I just need to know if there is a way to change the language from an event. Thanks for your time @NeoFantasy , I will keep trying!
 

Lakaroth

Veteran
Veteran
Joined
Dec 9, 2014
Messages
274
Reaction score
133
First Language
English
Primarily Uses
I have the same issue...
Someone fix it?

Best
 

Magusalfador

AKA VaroClaw
Veteran
Joined
Jun 15, 2014
Messages
256
Reaction score
43
First Language
English Spanish
Primarily Uses
RMMV
YES! I figured it out. Its quite simple, Just put this script call on an event:
Code:
ConfigManager._language = X;
Where X is a number, indexed. (0 = default languaje, 1 = first language, 2 = second language, and so on)
 
Last edited:

Lunyc

Villager
Member
Joined
Feb 11, 2017
Messages
12
Reaction score
0
First Language
Italian
Primarily Uses
RMMV
YES! I figured it out. Its quite simple, Just put this script call on an event:
Code:
ConfigManager._language = X;
Where X is a number, indexed. (0 = default languaje, 1 = first language, 2 = second language, and so on)

This actually works but doesn't save upon closing the game, when you open it again, the language has reset. Is there a way to fix it?
 

Magusalfador

AKA VaroClaw
Veteran
Joined
Jun 15, 2014
Messages
256
Reaction score
43
First Language
English Spanish
Primarily Uses
RMMV
Hmm...good catch, didnt noticed that. The only thing I can think of is to edit the save and load scene....let me play with that idea and let you know if it worked.

EDIT
Ok, it worked. You need to find the Scene_Save on the file rpg_scenes and after line 1640
add a line with
Code:
$gameVariables.setValue(X, ConfigManager._language);
where X is the variable you want to save which language you are currently using.

Now, Im using a plug in that launches a common event every time you load a file.:
https://galvs-scripts.com/2017/01/23/mv-load-common-event/

There, you add the script:
Code:
ConfigManager._language = $gameVariables.value(X);

And thats it. Now the language you are using will be saved and load properly.
 
Last edited:

Lunyc

Villager
Member
Joined
Feb 11, 2017
Messages
12
Reaction score
0
First Language
Italian
Primarily Uses
RMMV
Works perfectly, wish I knew something about coding lol.
You're a life saver, man! :ywink:
 
Last edited:

Latest Threads

Latest Profile Posts

The next JABS update will include ally AI and an aggro system.

Question:
What would YOU expect to happen if you had four+ party members in an ABS, all fighting either together or separately or a mix of the two, and the player hits "swap leader" button?
It currently pulls all followers to the player's location, removes all aggro towards enemies, and swaps them.
Time to wear a new face again...

Should keep things interesting huh? @EpicFILE :p
unknown.png

Been feeling that my characters spent too much time exploring caves, so I figured it was time to explore abandoned keeps instead.
Did you had some minor hitches with RMMZ? Come report to my topic where I did the same! [Just another rant from a RM veteran + Suggestions and Solutions] All opinions are welcome!

Forum statistics

Threads
110,329
Messages
1,052,387
Members
143,369
Latest member
artturia
Top