In the past tutorials, we checked how to configure a multilingual project and how to setup images and audio. In this posting, I will cover how to use animations and buttons.
Working with animations
First of all, I created a simple linear animation for the kwkwitch layer (the witch in black, which needs to appear only in the English version of the storybook. These are the parameters I set:
Notice that I set the animation to Wait request because I want the button to start it.
Still in the same layer, I used the Layers and Replacements->Set language to a layer button and created a new group:


I selected layer butFly and created a button using Interactions->Add Button, setting it to Play Animation. Although I could repeat the previous steps to setup each button layer as a “multilingual” one (via the Layers and Replacements->Set language to a layer), I simply speed up the process setting the Language group: to ** NEW **, and the Language: to English. Doing this is the same than select the layer and set it to multi-language.
Now that I set the English button, I did the same button for Spanish. I simple select the butVolar, and used the Interactions->Add Button. The only difference here is the Language group: was set to butFly (to match the English button) and Language: was set to Spanish:
IMPORTANT:Not all interactions are ready for multilingual projects (although they will be able to be seen in the Actions list). Because multilingual projects do not work with the layer names, any interaction pointing to a layer will generate an error.
The project now is completed. Publish it again and your will see the same results as below:
Alex