Localizing sprites
Sometimes it's also necessary to localize sprites in games. We've created a convenient method for adding sprite variations for different languages without any unnecessary complications while keeping the rest of your project unchanged.
Note
To enable sprite localization, you need to create translation files for all the languages you need.
Adding animations
To create a localized sprite, simply add new animations with your desired language codes to the sprite's animation list.
Create a sprite, add a new animation with the required language code, add the graphics. The final result should look similar to this.
Warning
Make sure there are no extra animations in the sprite with names that don't match any supported language codes. Otherwise, the plugin will skip your sprite during localization.
Now, when we click the play button (preview), we'll see that our sprite automatically changes its animation to match the player's current language.