StudioVR wrote:Will he be possible to create a walk of several languages ?
PTP V2 revelation
bdd wrote: set(tour_language, fr); //to set the tour language in french
set(tour_language, es); //to set the tour language in spanish
etc...
Gérald
fsimao222 wrote:you have managed to get multi language?
I've done all steps but no luck
bdd wrote:fsimao222 wrote:you have managed to get multi language?
I've done all steps but no luck
Can you share your XML files?
We will check what is missing or what is wrong.
Gérald
fsimao222 wrote:bdd wrote:fsimao222 wrote:you have managed to get multi language?
I've done all steps but no luck
Can you share your XML files?
We will check what is missing or what is wrong.
Gérald
I think the problem is to put the plugin doing the call:
set(tour_language, pt); //to set the tour language in portuguese
<action set(tour_language, pt); </action>
<action name="setPortuguese">set(tour_language, pt); </action>
<action name="setEnglish">set(tour_language, en); </action>
fsimao222 wrote:I think I still doing something wrong.
here is the link to my tour: http://www.21st-studio.com/vt/lote4_gondra_ql3.html
In top left corner you have a toggle button with the flag to make the switch between languages, but it doesn't change it.
I've attached one print screen of the toggle button asking for language file.
Thanks for your help
<action name="togglebuttonOnClick">
if (state,
set(state, false);setPortuguese();
set(url,%FIRSTXML%/graphics/togglebutton/english_flag_copy.jpg);
,
set(state, true);setEnglish();;
set(url,%FIRSTXML%/graphics/togglebutton/flag-portugal-xl_copy.jpg);
);
</action>
bdd wrote:The call on the toggle button cannot be done thru Panotour interface but in the generated code.
Just open the lote4_gondra_ql3_skin.xml file.
Go to line 2729, to the action named togglebuttonOnClick
Change it this way :
- Code: Select all
<action name="togglebuttonOnClick">
if (state,
set(state, false);setPortuguese();
set(url,%FIRSTXML%/graphics/togglebutton/english_flag_copy.jpg);
,
set(state, true);setEnglish();;
set(url,%FIRSTXML%/graphics/togglebutton/flag-portugal-xl_copy.jpg);
);
</action>
Gérald
fsimao222 wrote:bdd wrote:The call on the toggle button cannot be done thru Panotour interface but in the generated code.
Just open the lote4_gondra_ql3_skin.xml file.
Go to line 2729, to the action named togglebuttonOnClick
Change it this way :
- Code: Select all
<action name="togglebuttonOnClick">
if (state,
set(state, false);setPortuguese();
set(url,%FIRSTXML%/graphics/togglebutton/english_flag_copy.jpg);
,
set(state, true);setEnglish();;
set(url,%FIRSTXML%/graphics/togglebutton/flag-portugal-xl_copy.jpg);
);
</action>
Gérald
Thanks for the replies Gérard.
I've managed to put the action working.
the Floorplan spots are the only ones that doesn't change the language.
http://www.21st-studio.com/vt/lote4_gondra_ql4.html
Is something that I'm doing wrong?
Thanks again
bdd wrote:
No, you are not doing anything wrong.
PTP does not offer this multiple language feature from its interface, because some plugins do not react currently to this change.
Most of these plugins are the HTML5 plugins like the floorplan.
As soon as all plugins react correctly, we will propose this feature directly in PTP interface.
Gérald
Users browsing this forum: No registered users and 1 guest