Changing tour description language + update it

  • Hi,
    I want to create multi-language tour. I've manage to create working translations for hotspots and control bar tooltips but I have problem with updating main tour description. This description is showing in textfield after clicking the hotspot. I think that it has to be updated somehow to save changes but I don't have any idea how to do it.

    The source of current description is define in main <krpano> tag (index.xml file) with variable "projectdescriptionid". All translations are storage in index_message.xml file and tour description looks like this:

    <data name="pl_project_description_fr"><![CDATA[...]]></data>

    I will be grateful for any help.
    Thanks

  • Fill your HTML attribute of the corresponding Textfield plugin onclick. Use data organized in a way you can access it if you know current active language: See here
    E.g. onclick="set(layer[your_layer_name].html,get(strings[get(language)].text1))"

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!