- Joined
- Jan 5, 2020
- Messages
- 179
- Reaction score
- 186
- First Language
- French
- Primarily Uses
- RMMZ
Introduction
This plugin lets you translate game texts to suit your needs. Texts are simply written in JSON files, grouped in language-specific folders. The active language can be selected from the game options window.
Important: This plugin is a full rewritten and extended version of the Ignis - Text Database plugin by Raizen. Also inspired by some features present in the DKTools Localization plugin by DK.
Features
- Add an option to choose the language of the game.
- Is able to translate almost all texts in the system, including hardcoded texts in the RPG Maker MZ code (see comments here).
How to use
1. Install and configure your plugin. Please note that the first language in the "Languages" settings list will be the default language of the game. You can reorder them as you want in the option box.
2. Create the language folders and files according to your plugin settings, as follows (folder and file names are case sensitive):
Code:
RMMZ Project Folder
|_ Languages Folder
|_ Language Folder => Language [0]
|_ Language File [0].json
|_ Language File [1].json
|_ ...
|_ Language Folder => Language [1]
|_ Language File [0].json
|_ Language File [1].json
|_ ...
3. Develop your game, and for each text you want to translate, make sure you follow the correct syntax below:
=> In a text field of the RMMZ editor (database, message, plugin settings):
${text code}
=> In a language file (JSON syntax):
"text code": "text to display"
=> To use the the control characters in translated texts (like color, icon, variable, ...), double escape them like this in the "text to display":
\C[0] -> \\C[0] or \V[1] -> \\V[1] or \. -> \\.
=> You can also nest translated texts like this in the "text to display":
"Text1": "an example",
"Text2": "My text 1 is ${Text1}."
-> Displayed result = My text is an example.
4. During a game play, you can change the current active language in the game option window.
Terms of use
This plugin is published under License MIT.
Special thanks
Thanks to @Raizen for allowing me to extend his plugin and to publish a completely reworked version.
v1.0.0 - 21.10.2021
- Initial release.
v1.0.1 - 19.09.2022
- Fixed a processing bug when the text has the ${} pattern twice or more.
v1.0.2 - 03.08.2023
- Fixed a syntax error in the $.updateIndex() function.
v1.0.3 - 07.09.2023
- Rewrite the text database load process.
v1.0.4 - 19.11.2023
- Revert the changes made in v1.0.3, to load the text database later in the game boot process.
- Initial release.
v1.0.1 - 19.09.2022
- Fixed a processing bug when the text has the ${} pattern twice or more.
v1.0.2 - 03.08.2023
- Fixed a syntax error in the $.updateIndex() function.
v1.0.3 - 07.09.2023
- Rewrite the text database load process.
v1.0.4 - 19.11.2023
- Revert the changes made in v1.0.3, to load the text database later in the game boot process.
Last edited: