Save-Point
KyoLang - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: KyoLang (/thread-4495.html)



KyoLang - kyonides - 01-07-2013

KyoLang
v 1.0.0

by Kyonides-Arkanthos

Introduction

This script should allow you to include more than one language in your game projects but it should be the last script you include in your project. It will also show you a background picture and a flag related to the current language. Of course, it will tell you via a string what is name of the current language but in their native tongue.


Warnings

It might ignore any scripts placed beneath it or it might cause some undesired inconsistencies in your game because of that. Besides all of your maps and events in their original version should be done by then before you start translating your project into any other language. That would prevent you from having to copy all the original data over and over for every single change you could apply to them during the game development stage.


How does it work?

There are two ways to work with this script.

  1. Copy the contents of the whole project to any other location. (Not Recommend but it would be the easiest way to start using my script).
  2. Make a copy of your Data directory only (do not check the contents) and paste it right there but with another name. The demo shows offers you some clever suggestions on how to rename that copy, ie. DataEN, DataDE, etc. Keep in mind that the default language Data directory should always be Data before you pack your game for distribution.
If you choose not to copy all of your Graphics and Audio files, you should know that in order to edit another language Data files via the RPG Maker GUI, the original Data directory should be renamed temporarily and the target language Data directory should be renamed as Data. The reason for this is that the RPG Maker (any version) only expects the project to have a single Data directory and does not allow you or any scripter to change that via scripting.
Just remember this is script is in beta stage so do not be pushy!

Features
The language menu screen will only show up at the very beginning if no saved game file could be found.

Whenever you saved one or more game files during gameplay, the next time that you launch the game, it will automatically search for the most recent game file and get its language settings. In such case the language menu screen would not show up at all.
If for any weird reason the player prefers to change the language settings, he or she can still do so either by selecting the last option in the command window menu or by pressing the "B" button also known as the Cancel button.

SCRIPT

Download DEMO


Terms and Conditions

Free for use but not meant for commercial projects. Due credit is not optional but a must.


RE: KyoLang - kyonides - 01-08-2013

BUMP! BUMP!

First I updated the script to Beta 3 but now it finally reaches version 1.0.0.

Now it will also show you a background picture and a flag related to the current language. Of course, it will tell you via a string what is name of the current language but in their native tongue. Don't worry about this, you may configure it in the Lang module if you look for the FLAGS and BACKGROUNDS Constants.