Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Non-Destructive Localization - Plugin for RPG Maker MV/MZ

Auto generate translation file and translate your game without replacing your in-editor text · By Sang Hendrix

[SOLVED] Script Call to change language

A topic by chriscote created 56 days ago Views: 74 Replies: 3
Viewing posts 1 to 3
(1 edit)

Hi there,

This plugin looks great! I've just purchased it. 

One issue I am having though is that my game uses another plugin to handle the options for the game (VisuStella Options Core). 

I noticed that there don't seem to be any script calls for this plugin. Would it be possible to add either a script call which changes the language (like "setLanguage('English')" or "setLanguage(1)"), or a scene which can be called from anywhere via script call to select a language? The only way to change the language seems to be via the default options menu, so it seems to be incompatible with any project that uses a custom options menu or another plugin's options menu scene.

Thanks!

Developer

Ah yes, VisuStella Option might conflict with any plugins that add an option to the scene option. The good news is the Localization plugin also has an option to add a language command to scene title. Have you tried it?

For the changing language via script call, I'll add that in the next update, which will be available soon!

Developer (1 edit)

Hi! An update has been released. You can now change to a language via script call changeToLanguage('language symbol') or changeToLanguage('next').

Example: changeToLanguage('en')

Please update to version 1.3.0 and if there's any issue, please let me know!

(+1)

Amazing, thanks so much for adding this! This will allow me to implement the language settings right into the VisuStella Options scene.