The most perfect message text solution(localization/voice/word-wrap/more...)

The most perfect message text solution​


Brief description:This tutorial aims to provide a comprehensive message text solution that meets almost all your potential needs.

Requirements: DKTools_Localization.js(DKtools needs to be enabled first),DarkPlasma_AutoLineBreak.js,translator++

Step 1. Give up the VS series plugins.

Step 2. Select DKTools_Localization.js, this is crucial.

Step 3. If you want to automatically wrap lines, when making a localized language package, batch generate "<WordWrap>" in the text editor, for example - "Map015-8" : "<WordWrap>Let's just change the subject.", use The editor searches for " : " strings and replaces them all with " : " <WordWrap>

Step 4. Please use DarkPlasma_AutoLineBreak.js for automatic line wrapping, because this can achieve automatic line wrapping for Japanese and other languages that the VS series cannot do while ensuring compatibility. It is also compatible with GALV_MessageStylesMZ.js.

Step 5. When making a language pack, you need to mark the original text in advance. At this time, DKTools_Localization.js has the function of automatically marking the game dialogue text. Now we can use the tool translator++ to make the language pack. The original text and the translated text can be imported into excel. This Only a vba script is needed to output the language pack.json

Step 6. I think the process can be optimized in the previous step, such as automatically adding <WordWrap> in excel.

Step 7.Charactor voice, DKTools_Localization.js supports the playback of voices in different languages. We usually use SimpleVoice.js. This plugin will specify a new directory under 'audio' to store the voice file. Assume it is the 'voice' folder. If we add English in addition to Japanese, we only need to create a new 'en' folder...

Step 8. If you want the backlog function, I remember that the official DLC and Dragon Flame website seem to have it.

Step 9. I almost forgot the most important thing, some plug-in parameters, or text that is hard-coded into the script, these problems can also be solved by DKTools_Localization.js

Step 10. This solution is quite compatible with EliMZ, PKD, OcRam, and Galv. However, please note one thing. It seems that PKD and EliMZ plug-ins with the same type of functions may be incompatible. This is not a problem with this solution.

Step 11. The recommended plug-in loading order is: OcRam_Core--PluginCommonBase--DKTools--EliMZ_Book--Galv's Message Styles--DarkPlasma_AutoLineBreak--SoR_MessageBackLog_MZ--Eli_choice_manager--DKTools_Localization--OcRam_Credits--SimpleVoice--OcRam_Local _Coop
It is currently known that this solution will cause problems for languages such as Hebrew/Persian/Arabic that are displayed from right to left: Although DarkPlasma_AutoLineBreak.js solves the problem of automatic line wrapping in Asian languages, it will make Arabic unable to be displayed.
The current solution is to have DKtool display a text dialogue after switching languages. The escape code present in this message will cause DarkPlasma_AutoLineBreak.js to temporarily stop working.
However, word wrapping for this type of language remains unresolved.
Even for RPG Maker, only the MV editor supports Arabic, and MZ does not require a separate plug-in to handle text rendering. As for this RTL language game, I have only seen one demo on itch....

Original thread: https://forums.rpgmakerweb.com/threads/the-most-perfect-message-text-solution-localization-voice-word-wrap-more.167456/