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 !
Thanks
Laurent
Multi Language info hotspot
Take a look to this topic viewtopic.php?t=12858
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 ?
Regards
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 ?
Regards
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
The node has two Point Hotspots with the titles, Macbeth and Julius Ceaser
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 ... tspots.zip and have a play with.
regards,
Tony
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
The node has two Point Hotspots with the titles, Macbeth and Julius Ceaser
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 ... tspots.zip and have a play with.
regards,
Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
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.
Regards,
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.
Regards,
- Attachments
-
- MultiLang.zip
- (45.29 KiB) Downloaded 151 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
-
- Posts: 6
- Joined: Mon Apr 12, 2021 7:05 pm
Hello Hopki,
thank you very much for this work.
The basic setting is the English language.
How can I preset the German language as the basic setting?
thank you very much for this work.
The basic setting is the English language.
How can I preset the German language as the basic setting?
hi,
i do hope a next version can handle multiple languages without needing the skin to hide or show items, as for VR, with the double hotspot trick, you end up with... well, double hotspots.
of course it's also possible to make a separate project for each language... not ideal though.
david
i do hope a next version can handle multiple languages without needing the skin to hide or show items, as for VR, with the double hotspot trick, you end up with... well, double hotspots.
of course it's also possible to make a separate project for each language... not ideal though.
david
-
- Posts: 6
- Joined: Mon Apr 12, 2021 7:05 pm
I found the solution.MeinePanoramen wrote: ↑Sat Apr 24, 2021 9:59 pm Hello Hopki,
thank you very much for this work.
The basic setting is the English language.
How can I preset the German language as the basic setting?
In the skin editor, click on an empty space in the drawing area so that no module is marked in the tree (left).
Then you can see the definition of "var_lang" and its default setting in the properties on the right under variables.
The basic setting can be defined here.
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
Well worked out.
Good job.
Regards,
Well worked out.
Good job.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/