Posted March 31, 2025 by taaspider
#tutorial
Introduction
The BookMenu plugin was built from its inception to integrate well with Localization plugins. However, there are many different localization plugins available out there, and making them compatible while also remaining compatible to Visustella's plugins is a might task. Apart from that, setting up the plugin may be slighltly different depending on which localization plugin you are using.
In this tutorial, I'll show you how to setup you project with the DK Tools Localization plugin. You may be able to use other plugins if you wish with small changes to this steps. I cannot, however, garantee 100% compatibility with every other plugin out there.
IMPORTANT: You cannot work with the Plugin Manager datasource when integrating with a localization plugin. You must be comfortable editing JSON files, and use then JSON type datasource.
Setting Things Up
The first thing you must do to ensure things work properly is to order your plugins. As for your localization plugin and other Visustella's plugins you may use, you should follow the developers instructions as to order them. But TAA_BookMenu should always be placed AFTER both of them. Here's an example for DK Tools plugins:
You will need to create a JSON file for each language your game will support. The file naming you use may depend on which localization plugin you are using. For DK Tools Localization, all files must have the same name, but placed under each specific language directories:
Both files must have the same data structure, keeping the same object names and book keys. The translations should be applied only for the textual contents on each object. Here's an example:
With that in place, let's config the plugin itself.
TAA_BookMenu Parameter Setup
Here we need to mind two specific configurations.
After that, you're good to go!
Just test your game and switch languages to check everything is in its place!
(Please ignore the fact that the language names do not match the displayed text, I just meant to show the setup in action, so I based myself into preexisting samples!)
Conclusion
Setting up the plugin to go along localization features may be confusing, but it is actually quite simple. Keep in mind, though, that how you do it may depend on how the localization plugin of your choice actually works. You may need to tweak some of this steps if you're using a different one!
I hope this tutorial helps you setup your project!