Hi there,
I have my project nicely working (v7) with the translations in poedit and switching languages works all fine.
For a wall display I would like to have the panorama title in one textbox in language A and on the same page is another textbox for the title in language B - so both languages on one page.
My problem is that I can't figure out how to get a language out for only a certain textbox in a certain language.
If I switch my language - as I did for the web page - both boxes switch.
I assume I'm just being a bit daft and there might be a very easy way but I just can't see it.
Cheers.
Getting both languages for different textboxes
OK, here is how I managed it:
When "Node changed" "Goto URL" and then
I needed to add the String and make some change to the string or it would translate the saved variable title_eng
So this way it works - even though I don't think it's elegant.
When "Node changed" "Goto URL" and then
Code: Select all
javascript:
pano.setVariableValue('title_eng',String(" " + pano.getNodeUserdata().title + " "));
So this way it works - even though I don't think it's elegant.