设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 74|回复: 0

[转载发布] ODW - Multi-Language System Plugin

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    9015

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    58751
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    68660

    灌水之王

    发表于 2026-7-22 09:31:29 | 显示全部楼层 |阅读模式

    Multi-Language System Plugin v1.1.0
    by Open Digital World


    Introduction

    This plugin lets you translate game texts to suit your needs. Texts are simply written in JSON files, grouped in language-specific folders. It is also possible to configure fonts specifically for each language. The active language can be selected from the game options window.

    NOTE: 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

    • Adds an option to choose the game language.
    • Adds the possibility of having a specific font per language.
    • Translates almost all database and event command texts, including hard-coded texts in RPG Maker MZ code (see comments here).
    • Offers ready-to-use patches for Galv and VisuStella plugins.
    During a game, go to the options to change the language by pressing or simply clicking on the language option. Texts will be translated instantly.

    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. Place the font files for your languages in the "fonts" folder at the root of your game project:
                    Code:       
    1. RMMZ Project Folder
    2.    |_ Fonts Folder
    3.       |_ Font 0.woff
    4.       |_ Font 1.woff
    复制代码


    3. Create the language folders and files according to your plugin settings, as follows (folder and file names are case sensitive):

                    Code:       
    1. RMMZ Project Folder
    2.    |_ Root Folder
    3.       |_ Language Folder => Language [0]
    4.          |_ Language File [0].json
    5.          |_ Language File [1].json
    6.          |_ ...
    7.       |_ Language Folder => Language [1]
    8.          |_ Language File [0].json
    9.          |_ Language File [1].json
    10.          |_ ...
    复制代码


    4. 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):
    1. ${text code}
    复制代码

    => In a language file (JSON syntax):
    1. "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":
    1. \C[0] -> \\C[0] or \V[1] -> \\V[1] or \. -> \\.
    复制代码

    => You can also nest translated texts like this in the "text to display":
    1. "Text1": "an example",
    复制代码
    1. "Text2": "My text 1 is ${Text1}."
    复制代码

    -> Displayed result = My text is an example.

    5. During a game play, you can change the current active language in the game option window.

    See also README.md for more information about settings, commands, ...

    Terms of use

    This plugin is published under the MIT License.

    Special thanks

    Thanks to @Raizen for allowing me to extend his plugin and to publish a completely reworked version.



    Download Link
    ODW_MultiLanguageSystem.js (itch.io)



    Spoiler: Screenshots

    Spoiler: Update Log
    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.
    v1.1.0 - 25.05.2024

    • Improved the documentation.
    • Improved the code for parsing language settings.
    • Added new font settings per language.
    • Added a new global parameter to display/hide the error log in the console.
    • Removed the $.getCodes() and $.getLabels() functions.
    • Removed the $._isDatabaseLoaded property and $.isDatabaseLoaded() function.
    • Removed the compatibility code for VisuStellaMZ plugins (replaced by a patch).
    • Created patch for Galv MZ plugins.
    • Created patch for VisuStella MZ plugins.


    本贴来自国际rpgmaker官方论坛作者:r66r处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/odw-multi-language-system-plugin.141442/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-4 20:29 , Processed in 0.065498 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表