Problem with VR dual language  

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
User avatar
signmaster
Member
 
Topic author
Posts: 291
Likes: 52 posts
Liked in: 36 posts
Joined: Thu Aug 21, 2008 1:55 pm
Location: Swan Hill, Australia
Info

Problem with VR dual language

by signmaster » Mon May 07, 2018 4:05 am

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
Attachments
image iPhone.png
Language Files.png

User avatar
signmaster
Member
 
Topic author
Posts: 291
Likes: 52 posts
Liked in: 36 posts
Joined: Thu Aug 21, 2008 1:55 pm
Location: Swan Hill, Australia
Info

Re: Problem with VR dual language

by signmaster » Wed May 09, 2018 3:53 am

Does anyone have an idea on this problem?

no avatar
FunkyPunky
Member
 
Posts: 227
Likes: 10 posts
Liked in: 4 posts
Joined: Sat Jan 25, 2014 11:50 pm
Info

Re: Problem with VR dual language

by FunkyPunky » Fri May 11, 2018 10:03 pm

Having the same issue. Following...

User avatar
signmaster
Member
 
Topic author
Posts: 291
Likes: 52 posts
Liked in: 36 posts
Joined: Thu Aug 21, 2008 1:55 pm
Location: Swan Hill, Australia
Info

Re: Problem with VR dual language

by signmaster » Mon May 14, 2018 12:17 am

Anyone from Kolor checking these posts?

User avatar
bdd
Kolor Team
 
Posts: 2802
Likes: 14 posts
Liked in: 129 posts
Joined: Tue Jan 18, 2011 4:05 pm
Info

Re: Problem with VR dual language

by bdd » Wed May 16, 2018 9:58 am

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

User avatar
signmaster
Member
 
Topic author
Posts: 291
Likes: 52 posts
Liked in: 36 posts
Joined: Thu Aug 21, 2008 1:55 pm
Location: Swan Hill, Australia
Info

Re: Problem with VR dual language

by signmaster » Thu May 17, 2018 12:33 am

Thanks for that will try

Steve


Who is online

Users browsing this forum: No registered users and 5 guests