benji33 wrote:Not possible yet but in our plans.
You can try to copy your_tour_messages_en.xml into an other file with _fr.xml end for example.
And deal with the tour_language variable into xml to change language on demand. Need krpano script knowledge.
osamaaf wrote:Please explain this so that we can do something until the feature is added in the software.
<!-- Button LANG FR -->
<layer name="buttonLANG"
keep="true"
url="%FIRSTXML%/graphics/button3/btn_stop_sound.png"
align="center"
x="0"
y="0"
zorder="98"
visible="false"
onclick="buttonLANGOnClick"
/>
<action name="buttonLANGOnClick">
changeLanguageFR();
</action>
<events name="buttonLANGevents"
onTourStart="showbuttonLANG();"
hidetourcontrols="hidebuttonLANG();"
showtourcontrols="showbuttonLANG();"
keep="true" />
<action name="hidebuttonLANG">set(layer[buttonLANG].visible, false);</action>
<action name="showbuttonLANG">set(layer[buttonLANG].visible, true);</action>
<!-- change language -->
<action name="changeLanguageFR">
set(tour_language, "fr");
</action>
...
<data name="en_controlBar_classicprevSceneTip"><![CDATA[Previous panorama]]></data>
<data name="en_controlBar_classicnextSceneTip"><![CDATA[Next panorama]]></data>
<data name="fr_controlBar_classicprevSceneTip"><![CDATA[Panorama précédent]]></data>
<data name="fr_controlBar_classicnextSceneTip"><![CDATA[Panorama suivant]]></data>
...
Users browsing this forum: No registered users and 2 guests