[Xerte-dev] Wizard Language FIles

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Feb 1 09:29:27 GMT 2013


To add, in the wizard code I see this:

                                Alert.yesLabel = wizard.languageData.Alert[0].yeslabel[0];
                                Alert.noLabel = wizard.languageData.Alert[0].nolabel[0];
                                Alert.show(wizard.languageData.Alert[0].deletenode[0].confirm[0].prompt[0], wizard.languageData.Alert[0].deletenode[0].confirm[0].title[0], Alert.YES|Alert.NO, null, delNodeHandler, null, Alert.YES);
                } else {
                                Alert.okLabel = wizard.languageData.Alert[0].oklabel[0];
                                Alert.show(wizard.languageData.Alert[0].deletenode[0].error[0].prompt[0], wizard.languageData.Alert[0].deletenode[0].error[0].title[0]);

The wizard is loading language from /languages/wizard_en-GB.xml

That file does not contain anything the code above can use.

Do I have the right file?

I've added language data to it and it works now, so I think I've done it right, but unsure why it was missing in the first place.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130201/a064b1c8/attachment.html>


More information about the Xerte-dev mailing list