Creating a multilingual project with Kwik 2 – Part 3 (Expert)

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:

Screen Shot 2013-01-31 at 4.05.50 PM

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:

Screen shot 2011-12-11 at 1.14.03 PM
After that, I selected the layer witchspa (the witch in white, to show up only in the Spanish version). Without creating a new animation for it (this witch will “consume” the same animation from its counterpart kwkwitch), I simply used the Layers and Replacements->Set language to a layer button again and associated it to the kwkwitch group, entering Spanish as the correct language now:

Screen shot 2011-12-11 at 1.33.34 PM
Setting the buttons

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.

Screen Shot 2013-01-31 at 4.16.46 PM

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:

Screen Shot 2013-01-31 at 4.30.31 PM

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