Multi Language info hotspot

Q&A about the latest versions
Post Reply
Posts: 23
Joined: Mon May 25, 2020 11:21 am

Fri Mar 19, 2021 3:52 pm

Hi everyone,

I'm working on a tour with 2 languages.

My question is about information hotspots.
I have 10 info hotspots (sometime 2 per nodes) and I don't know how to figure to manage the translation.

Help would be appreciate !

Posts: 64
Joined: Wed Sep 23, 2020 11:59 am

Fri Mar 19, 2021 10:19 pm

Take a look to this topic viewtopic.php?t=12858
Posts: 23
Joined: Mon May 25, 2020 11:21 am

Sat Mar 20, 2021 1:55 pm

Thanks @JJBL.
In my case I only have few texts to put in the info hotspot (2/3 phrases).

For only one info hotspot in a node, I manage with a logic block lang=en / lang=de / lang=fr AND Tag=something (-> text to display).

But I'm stuck if I have 2 info Hotspots...

Would it be possible to use the ID of the hotspot ?

User avatar
Posts: 1029
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia

Mon Mar 22, 2021 2:57 am

Hi Laurent,

There's a number of different ways to do this but one of the fastest is to use a couple of variables and a text element logic block.

Here is a sample with 2 Point Hotspots in the panorama and 1 Info Hotspot in the skin https://p2vr.s3-ap-southeast-2.amazonaw ... index.html

language_0.jpg (420.52 KiB) Viewed 130 times

The node has two Point Hotspots with the titles, Macbeth and Julius Ceaser

language_1.jpg (510.75 KiB) Viewed 130 times

The skin has one Info Hotspot and two variables op_shakespeare and op_language. op_shakespeare is assigned the Hotspot Title when the ht_info hotspot is selected and the op_language is assigned either english or french when the language buttons are selected.

In the text element Logic Block the different language options are shown or hidden based on the values in the two variables.

There is a project folder you can download at https://p2vr.s3-ap-southeast-2.amazonaw ... and have a play with.


Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: - | Pano2VR Tutorials: | instagram:
Posts: 102
Joined: Wed May 20, 2020 10:38 am

Tue Mar 23, 2021 2:32 pm

...but this all doesn't work anymore in VR mode... :(
i hope for a less "workaround" type multi language solution that also works in VR mode for a next version.
Posts: 23
Joined: Mon May 25, 2020 11:21 am

Thu Mar 25, 2021 12:13 pm

@Tony, Thanks a lot for your explanations and the test files !
I understood that I had forget a variable, so I think it's ok now ! :)
User avatar
Posts: 11269
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK

Thu Mar 25, 2021 4:45 pm

If you guys are interested here is a different spin on this.
Basically, you make copies of the hotspot in the list view, I am adding the country code for each hotspot ID to better keep track of which one is for what language.
Then in the skin, there is a Hotspot for each language.
It then uses a text variable to show and hide the relevant Hotspot Template depending on which flag you select.
This way has the advantage of once the skin is set up with the Hotspots, you add text to each point hotspot.
This includes the title as well as body text.
The skin, once you set up one point hotspot template, just copy and paste it for each language.
As far as the file size is concerned the Hotspot template has hardly any file size so having copies is no big deal.
(45.29 KiB) Downloaded 7 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
Post Reply