Page 1 of 1

Problem with VR dual language

PostPosted: Mon May 07, 2018 4:05 am
by signmaster
Hi all
Problem with dual language tour, works OK on desktop and Mobile but not when VR is selected.

I have edited the language files which works OK on the desktop and mobile but when in VR mode the settings screens are not translated.
The link to the demo tour I am working on is http://www.360virtualtours.com.au/3d/1/
When VR mode is entered the setup (Gearwheel) pages should be translated to Chinese but they are not.
Images below.

Steve

Re: Problem with VR dual language

PostPosted: Wed May 09, 2018 3:53 am
by signmaster
Does anyone have an idea on this problem?

Re: Problem with VR dual language

PostPosted: Fri May 11, 2018 10:03 pm
by FunkyPunky
Having the same issue. Following...

Re: Problem with VR dual language

PostPosted: Mon May 14, 2018 12:17 am
by signmaster
Anyone from Kolor checking these posts?

Re: Problem with VR dual language

PostPosted: Wed May 16, 2018 9:58 am
by bdd
Edit the HTML file : 360virtualtours.com.au/3d/1/index.html

  1. Replace line 144 :
    Code: Select all
                setTimeout(function(){ loadPlayer(true, curScene, curTime);if(tourlanguage){getCurrentTourPlayer().call("if(action[setTourLanguage],setTourLanguage("+tourlanguage+"););");} }, 100);

    by :
    Code: Select all
               loadPlayer(true, curScene, curTime);
  2. Replace line 158 :
    Code: Select all
                setTimeout(function(){ loadPlayer(false, curScene, curTime);if(tourlanguage){getCurrentTourPlayer().call("if(action[setTourLanguage],setTourLanguage("+tourlanguage+"););");} }, 100);
    by :
    Code: Select all
               loadPlayer(false, curScene, curTime);
  3. Replace line 170 :
    Code: Select all
                      ,vars:{skipintro:true,norotation:true,startscene:curScene,starttime:curTime}

    by :
    Code: Select all
                      ,vars:{skipintro:true,norotation:true,startscene:curScene,starttime:curTime,startlanguage:tourlanguage}
  4. Replace line 185 :
    Code: Select all
                      ,vars:{startscene:curScene,starttime:curTime}

    by :
    Code: Select all
                      ,vars:{startscene:curScene,starttime:curTime,startlanguage:tourlanguage}

GĂ©rald

Re: Problem with VR dual language

PostPosted: Thu May 17, 2018 12:33 am
by signmaster
Thanks for that will try

Steve