Hello,
What do I want to achieve?
I try to build a multilingual tour by using the KRPano standard skin. Apart from more detailed illustrations, which I will provide, I'm fighting with setting the title tag of the scenes properly according to the chosen language.
What did I do so far?
step 1: I created an onstart event, which is calling an action, "a_setlanguage(gb);"
step 2: I created the action
<action name="a_setlanguage">
if(%1==en,
set(tit_01,welcome);
set(tit_02,have a look);
set(tit_03,good bye);
trace(tit_02);
);
if(%1==dk,
set(tit_01,velkommen);
set(tit_02,se dig om);
set(tit_03,hej hej);
trace(tit_02);
);
</action>
Display More
(The user shall be able to select the language by changing the variable).
step 3: I wanted to edit the title tag accordingly
<scene name="scene_01" title="get(tit_01)" onstart="" thumburl="panos/01.tiles/thumb.jpg" lat="" lng="" heading="">
But all I get is a title like "Virtual Tour - get(tit_01)". Where is my mistake? Which way to go?
All help appreciated,
Michael